Skip to content

Attributes of ReactionRules are not inherited in expand #489

@kaizu

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 []

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions