Skip to content

Commit

Permalink
fixed bug in reaction list
Browse files Browse the repository at this point in the history
  • Loading branch information
eadlg2 committed Mar 21, 2024
1 parent cb8a62e commit a5fa131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/music_box_reaction_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def from_UI_JSON(cls, UI_JSON, species_list):
else:
reactions.append(Reaction(name, reaction_type, reactants, products))

return cls(reactions)
return cls(reactions=reactions)

def add_reaction(self, reaction):
"""
Expand Down

0 comments on commit a5fa131

Please sign in to comment.