Skip to content

Commit

Permalink
fixed missing reaction list param in from_config_JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjamesgarza committed Apr 2, 2024
1 parent 4e1d991 commit 4552c4d
Show file tree
Hide file tree
Showing 2 changed files with 1,810 additions and 1,810 deletions.
2 changes: 1 addition & 1 deletion src/music_box_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def from_UI_JSON(cls, UI_JSON, species_list, reaction_list):
return cls(pressure, temperature, species_concentrations, reaction_rates)

@classmethod
def from_config_JSON(cls, config_JSON, species_list):
def from_config_JSON(cls, config_JSON, species_list, reaction_list):
pressure = utils.convert_pressure(config_JSON['environmental conditions']['pressure'], 'initial value')

temperature = utils.convert_temperature(config_JSON['environmental conditions']['temperature'], 'initial value')
Expand Down
Loading

0 comments on commit 4552c4d

Please sign in to comment.