Skip to content

Commit

Permalink
Auto-format code using pep8 (#287)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
github-actions[bot] and actions-user authored Dec 2, 2024
1 parent 89d1627 commit 11207c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/acom_music_box/music_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def solve(self, callback=None):
next_conditions_time = 0
next_conditions_index = 0
if (len(self.evolving_conditions) != 0):
if(self.evolving_conditions.times[0] == 0):
if (self.evolving_conditions.times[0] == 0):
initial_concentration = curr_conditions.species_concentrations
evolving_concentrations = self.evolving_conditions.conditions[0].species_concentrations
initial_concentration.update({k: float(v) for k, v in evolving_concentrations.items() if k in initial_concentration})
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_chapman.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_run(self):
model = box_model.solve()

model.columns = [
column + ".mol m-3" if column.startswith("CONC") else column
column + ".mol m-3" if column.startswith("CONC") else column
for column in model.columns
]

Expand Down

0 comments on commit 11207c6

Please sign in to comment.