You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hate to have such a long-winded code snippet but it seems necessary to handle all the cases (whether or not the old or new name exists):
""" Given a TemplateModel model and the old & new name of a state/concept therein, 1. if the old name doesn't exist, do nothing 2. if the new name is unused, replace the name of that state/concept 3. if the new name is used, replace the old-name concept by the new-name concept Apply same replacement to the rate laws, observable expressions, and initials. """
The mira code being called in rename state and potentially rename transition doesnt work as intended.
Start with SIR
Add state A
Rename to state S
Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: