File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2136,12 +2136,12 @@ def _generate_default_observables(self):
21362136 }.items ()
21372137 }
21382138
2139- for variable in itt .chain (
2140- self .parameter_assignment_rules ,
2141- self .initial_assignments ,
2142- self .compartment_assignment_rules ,
2143- self .species_assignment_rules ,
2144- self .compartments ,
2139+ for variable , formula in itt .chain (
2140+ self .parameter_assignment_rules . items () ,
2141+ self .initial_assignments . items () ,
2142+ self .compartment_assignment_rules . items () ,
2143+ self .species_assignment_rules . items () ,
2144+ self .compartments . items () ,
21452145 ):
21462146 symbol = symbol_with_assumptions (f"y{ variable } " )
21472147 # Assignment rules take precedence over compartment volume
@@ -2154,7 +2154,7 @@ def _generate_default_observables(self):
21542154 continue
21552155 self .symbols [SymbolId .OBSERVABLE ][symbol ] = {
21562156 "name" : str (variable ),
2157- "value" : variable ,
2157+ "value" : formula ,
21582158 }
21592159
21602160 def _process_log_likelihood (
You can’t perform that action at this time.
0 commit comments