Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions micro_manager/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def __init__(self, config_file_name):
self._config_file_name = config_file_name
self._logger = None
self._micro_file_name = None
self._micro_sim_config_file_name = None

self._precice_config_file_name = None
self._macro_mesh_name = None
Expand Down Expand Up @@ -109,6 +110,16 @@ def _read_json(self, config_file_name):
"Micro simulation file name: " + self._data["micro_file_name"]
)

try:
self._micro_sim_config_file_name = self._data["micro_sim_config_file_name"]
self._logger.log_info_rank_zero(
"Micro simulation config file name: " + self._micro_sim_config_file_name
)
except BaseException:
self._logger.log_info_rank_zero(
"No micro simulation config file name provided. Micro Manager assumes that the name is hardcoded in the micro simulation file."
)

try:
self._output_dir = self._data["output_directory"]
self._logger.log_info_rank_zero(
Expand Down