From 11207c63188893bad12dd9b3b0742662bfa95982 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:33:54 -0600 Subject: [PATCH] Auto-format code using pep8 (#287) Co-authored-by: GitHub Actions --- src/acom_music_box/music_box.py | 2 +- tests/integration/test_chapman.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acom_music_box/music_box.py b/src/acom_music_box/music_box.py index ce0f96d..774e513 100644 --- a/src/acom_music_box/music_box.py +++ b/src/acom_music_box/music_box.py @@ -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}) diff --git a/tests/integration/test_chapman.py b/tests/integration/test_chapman.py index 5440f74..cf2bbc5 100644 --- a/tests/integration/test_chapman.py +++ b/tests/integration/test_chapman.py @@ -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 ]