Skip to content

Commit

Permalink
Use self._data for lazy initialization config
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiskelm committed Aug 7, 2024
1 parent 115b68d commit 37d1746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micro_manager/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def read_json_micro_manager(self):
else:
raise Exception("Adaptivity type can be either local or global.")

if data["simulation_params"]["adaptivity_settings"]["lazy_init"] == "True":
if self._data["simulation_params"]["adaptivity_settings"]["lazy_init"] == "True":
self._micro_sims_lazy_init = True

exchange_data = {**self._read_data_names, **self._write_data_names}
Expand Down

0 comments on commit 37d1746

Please sign in to comment.