Skip to content

Commit

Permalink
Make new transition names unique
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Aug 7, 2024
1 parent 264a34e commit aecdafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mira/metamodel/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def stratify(
**{key: target_stratum})
# todo will need to generalize for different kwargs for different conversions
template = conversion_cls(subject=subject, outcome=outcome,
name=f't{idx}_{source_stratum_name}_{target_stratum_name}')
name=f't_conv_{idx}_{source_stratum_name}_{target_stratum_name}')
template.set_mass_action_rate_law(param_name)
templates.append(template)
if not directed:
Expand Down

0 comments on commit aecdafd

Please sign in to comment.