Skip to content

Commit

Permalink
Auto-format code using Clang-Format (#208)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
github-actions[bot] and actions-user authored Aug 28, 2024
1 parent 4f02e3e commit e739f10
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/acom_music_box/music_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,15 +503,14 @@ def solve(self, output_path=None):

while (curr_time <= self.box_model_options.simulation_length):


# iterates evolving conditions if enough time has elapsed
while (
next_conditions is not None and next_conditions_time <= curr_time):

curr_conditions.update_conditions(next_conditions)
ordered_rate_constants = self.order_reaction_rates(
curr_conditions, rate_constant_ordering)
curr_conditions, rate_constant_ordering)

# iterates next_conditions if there are remaining evolving
# conditions
if (len(self.evolving_conditions) > next_conditions_index + 1):
Expand Down Expand Up @@ -547,7 +546,7 @@ def solve(self, output_path=None):
time_step = min(time_step, next_conditions_time - curr_time)
if (next_output_time > curr_time):
time_step = min(time_step, next_output_time - curr_time)

# solves and updates concentration values in concentration array
if (not ordered_concentrations):
logger.info("Warning: ordered_concentrations list is empty.")
Expand Down

0 comments on commit e739f10

Please sign in to comment.