From ef53a1322c87ea5fb434baed146c75853fe9bd9a Mon Sep 17 00:00:00 2001 From: Torben Schiz Date: Tue, 13 Aug 2024 16:12:34 +0200 Subject: [PATCH] Add micro input to crash message output --- micro_manager/micro_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micro_manager/micro_manager.py b/micro_manager/micro_manager.py index 9e2a62e..7e4ad20 100644 --- a/micro_manager/micro_manager.py +++ b/micro_manager/micro_manager.py @@ -671,9 +671,9 @@ def _solve_micro_simulations(self, micro_sims_input: list, dt: float) -> list: # If simulation crashes, log the error and keep the output constant at the previous iteration's output except Exception as error_message: self._logger.error( - "Micro simulation at macro coordinates {} has experienced an error. " + "Micro simulation at macro coordinates {} with input {} has experienced an error. " "See next entry on this rank for error message.".format( - self._mesh_vertex_coords[count] + self._mesh_vertex_coords[count], micro_sims_input[count] ) ) self._logger.error(error_message)