fix mypy issue
All checks were successful
Mypy / mypy (push) Successful in 1m12s
Pytest / pytest (3.12) (push) Successful in 1m18s
Pytest / pytest (3.13) (push) Successful in 1m11s
Pytest / pytest (3.14) (push) Successful in 1m13s
Ruff / ruff (push) Successful in 1m2s
Mypy / mypy (pull_request) Successful in 1m14s
Pytest / pytest (3.13) (pull_request) Successful in 1m10s
Pytest / pytest (3.12) (pull_request) Successful in 1m19s
Pytest / pytest (3.14) (pull_request) Successful in 1m12s
Ruff / ruff (pull_request) Successful in 1m2s

This commit is contained in:
Justus Kuhlmann 2026-04-10 09:38:31 +02:00
commit 74d99f8d5f
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -202,7 +202,7 @@ def import_toml(path: Path, file: str, copy_file: bool=True) -> None:
param = openQCD.load_ms1_parfile(path, uuid, parameter_file) param = openQCD.load_ms1_parfile(path, uuid, parameter_file)
else: else:
# Temporary solution # Temporary solution
parameters = {} parameters: dict[str, Any] = {}
parameters["rand"] = {} parameters["rand"] = {}
parameters["rw_fcts"] = [{}] parameters["rw_fcts"] = [{}]
for nrw in range(1): for nrw in range(1):