From 4171fa94e14f01ab21e99c830860ff0b9b1e9cda Mon Sep 17 00:00:00 2001 From: Ishaan Desai Date: Mon, 22 Apr 2024 19:02:34 +0200 Subject: [PATCH] Formatting --- micro_manager/micro_manager.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/micro_manager/micro_manager.py b/micro_manager/micro_manager.py index 938237b3..d40745f9 100644 --- a/micro_manager/micro_manager.py +++ b/micro_manager/micro_manager.py @@ -174,7 +174,9 @@ def solve(self) -> None: while self._participant.is_coupling_ongoing(): - self._dt = self._participant.get_max_time_step_size() # ask preCICE at beginning of time step for allowed time step size + self._dt = ( + self._participant.get_max_time_step_size() + ) # ask preCICE at beginning of time step for allowed time step size # Write a checkpoint if self._participant.requires_writing_checkpoint(): @@ -261,7 +263,9 @@ def solve(self) -> None: t += self._dt # increase internal time when time step is done. n += 1 # increase counter - self._participant.advance(self._dt) # notify preCICE that time step of size self._dt is complete + self._participant.advance( + self._dt + ) # notify preCICE that time step of size self._dt is complete # Revert micro simulations to their last checkpoints if required if self._participant.requires_reading_checkpoint():