Skip to content

Commit

Permalink
fixed bug in species list
Browse files Browse the repository at this point in the history
  • Loading branch information
eadlg2 committed Mar 21, 2024
1 parent a1d5370 commit cb8a62e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/music_box_species_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def from_UI_JSON(cls, UI_JSON):
# TODO: Add phase and density to species

species_from_json.append(Species(name, absolute_tolerance, None, molecular_weight, None))

return cls(species)
return cls(species_from_json)

def add_species(self, species):
"""
Expand Down

0 comments on commit cb8a62e

Please sign in to comment.