Skip to content

Commit

Permalink
make sure time in evolving conditions is float
Browse files Browse the repository at this point in the history
  • Loading branch information
eadlg2 committed Apr 6, 2024
1 parent 81b820b commit 5315cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/music_box/music_box_evolving_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def from_UI_JSON(cls, UI_JSON, species_list, reaction_list):

evol_from_json = UI_JSON['conditions']['evolving conditions']
for i in range(1, len(evol_from_json)):
times.append(evol_from_json[i][0])
times.append(float(evol_from_json[i][0]))

pressure = None
if 'ENV.pressure.Pa' in headers:
Expand Down

0 comments on commit 5315cc0

Please sign in to comment.