We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7f639e commit bbd5b0aCopy full SHA for bbd5b0a
simulaqron/run/run.py
@@ -151,8 +151,12 @@ def run_applications(
151
results: List[Dict[str, Any]] = []
152
if isinstance(network_cfg, str) or isinstance(network_cfg, PathLike):
153
net_cfg = str(network_cfg)
154
+ # If given a network config path, we need to update the global static config property (really bad design choice)
155
+ simulaqron_settings.network_config_file = net_cfg
156
elif isinstance(network_cfg, Path):
157
net_cfg = str(network_cfg.resolve())
158
159
160
else:
161
net_cfg = None
162
0 commit comments