Skip to content

Commit

Permalink
Update logger message for crashing simulation in the first run
Browse files Browse the repository at this point in the history
Co-authored-by: Ishaan Desai <[email protected]>
  • Loading branch information
tjwsch and IshaanDesai committed Apr 4, 2024
1 parent 77ecd3a commit 69d79d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions micro_manager/micro_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,8 @@ def _solve_micro_simulations(self, micro_sims_input: list) -> list:
unset_sims = np.where(none_mask)[0]

for unset_sims in unset_sims:
self._logger.info("Micro Sim {} has previously not run. "
"It will be replace with the output of the first "
"micro sim that ran {}".format(unset_sims, set_sims[0][0]))
self._logger.info("Micro simulation {} has has crashed in the very first run attempt. "
"The output of the first micro sim that ran ({}) will be used as its output.".format(unset_sims, set_sims[0][0]))
micro_sims_output[unset_sims] = micro_sims_output[set_sims[0][0]]
self._old_micro_sims_output = micro_sims_output

Expand Down

0 comments on commit 69d79d6

Please sign in to comment.