TEMPFIX: allow ms1 to not have an in or par file part 3
Some checks failed
Mypy / mypy (push) Failing after 1m10s
Pytest / pytest (3.13) (push) Has been cancelled
Pytest / pytest (3.14) (push) Has been cancelled
Ruff / ruff (push) Waiting to run
Pytest / pytest (3.12) (push) Has been cancelled

This commit is contained in:
Justus Kuhlmann 2026-04-09 12:17:29 +02:00
commit 16dcca3f3d
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -202,6 +202,7 @@ def import_toml(path: Path, file: str, copy_file: bool=True) -> None:
# Temporary solution
parameters = {}
parameters["rand"] = {}
parameters["rw_fcts"] = []
for nrw in range(1):
if "nsrc" not in parameters["rw_fcts"][nrw]:
parameters["rw_fcts"][nrw]["nsrc"] = 1