Skip to content

Commit

Permalink
[fixup] Fix scope in delayed init in micro_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiskelm committed Aug 15, 2024
1 parent db0b224 commit cabf3e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions micro_manager/micro_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ def solve(self) -> None:
+ 1
]
)[0]
micro_problem = getattr(
importlib.import_module(
self._config.get_micro_file_name(), "MicroSimulation"
),
"MicroSimulation",
)
micro_problem = getattr(
importlib.import_module(
self._config.get_micro_file_name(), "MicroSimulation"
),
"MicroSimulation",
)
for i in active_sim_ids:
self._logger.info(f"lazy initialization of micro sim {i} started")
self._micro_sims[i] = create_simulation_class(micro_problem)(
Expand Down

0 comments on commit cabf3e0

Please sign in to comment.