We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0c0cdf commit 3ff2c9dCopy full SHA for 3ff2c9d
python/sdist/amici/sbml_import.py
@@ -2305,6 +2305,10 @@ def _make_initial(
2305
# recursive!
2306
init = self._make_initial(get_species_initial(species))
2307
sym_math = sym_math.subs(var, init)
2308
+ elif var in self.symbols[SymbolId.SPECIES]:
2309
+ sym_math = sym_math.subs(
2310
+ var, self.symbols[SymbolId.SPECIES][var]["init"]
2311
+ )
2312
elif (
2313
element := self.sbml.getElementBySId(element_id)
2314
) and self.is_rate_rule_target(element):
0 commit comments