diff --git a/dev/test_mb_2024_0_mux_2024.py b/dev/test_mb_2024_0_mux_2024.py index c30a157feb503cfb272f9b52e5753fcf6f3be5fc..1a6d1b44183dc93321f5f43ca509863a32c35f58 100644 --- a/dev/test_mb_2024_0_mux_2024.py +++ b/dev/test_mb_2024_0_mux_2024.py @@ -13,10 +13,10 @@ within_ohmpi = False # Stand alone if stand_alone: - ctl_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG['ctl'].pop('model')}') - pwr_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG['pwr'].pop('model')}') - tx_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG['tx'].pop('model')}') - rx_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG['rx'].pop('model')}') + ctl_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG["ctl"].pop("model")}') + pwr_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG["pwr"].pop("model")}') + tx_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG["tx"].pop("model")}') + rx_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG["rx"].pop("model")}') ctl = ctl_module.Ctl() HARDWARE_CONFIG['tx'].update({'ctl': ctl}) # HARDWARE_CONFIG['tx'].pop('ctl', ctl_module.Ctl())})