Skip to content

Commit

Permalink
Add notes on potential needed updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Jul 13, 2023
1 parent d8aa845 commit 224d695
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mira/modeling/petri.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def __init__(self, model: Model):
'mira_concept': var.concept.json(),
}
}
# NOTE: Initial values are removed from the State BaseModel
initial = var.data.get('initial_value')
if initial is not None:
state_data['concentration'] = initial
Expand Down Expand Up @@ -198,6 +199,7 @@ def __init__(self, model: Model):

state_data = {
"sname": observable.observable.name,
# NOTE: Initial values are removed from the State BaseModel
"concentration": 0.0,
"sprop": obs_dict
}
Expand Down

0 comments on commit 224d695

Please sign in to comment.