Skip to content

Attributes of ReactionRules are not inherited in expand #489

Description

@kaizu
from ecell4.prelude import *

with reaction_rules():
    A > B | 0.0 | {"name": "rr1"}
    
m = get_model(is_netfree=True)

for rr in m.reaction_rules():
    print(rr.as_string(), rr.list_attributes())
# A>B|0 [('name', 'rr1')]

for rr in m.expand([Species("A")]).reaction_rules():
    print(rr.as_string(), rr.list_attributes())
# A>B|0 []

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions