small logic issue
Some checks failed
Ruff / ruff (push) Waiting to run
Mypy / mypy (pull_request) Waiting to run
Pytest / pytest (3.12) (pull_request) Waiting to run
Pytest / pytest (3.13) (pull_request) Waiting to run
Ruff / ruff (pull_request) Waiting to run
Mypy / mypy (push) Failing after 1m14s
Pytest / pytest (3.14) (pull_request) Waiting to run
Pytest / pytest (3.12) (push) Successful in 1m19s
Pytest / pytest (3.13) (push) Successful in 1m12s
Pytest / pytest (3.14) (push) Has been cancelled
Some checks failed
Ruff / ruff (push) Waiting to run
Mypy / mypy (pull_request) Waiting to run
Pytest / pytest (3.12) (pull_request) Waiting to run
Pytest / pytest (3.13) (pull_request) Waiting to run
Ruff / ruff (pull_request) Waiting to run
Mypy / mypy (push) Failing after 1m14s
Pytest / pytest (3.14) (pull_request) Waiting to run
Pytest / pytest (3.12) (push) Successful in 1m19s
Pytest / pytest (3.13) (push) Successful in 1m12s
Pytest / pytest (3.14) (push) Has been cancelled
This commit is contained in:
parent
29ebafc1c4
commit
37ae818589
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def _check_db2paths(path: Path, meas_paths: list[str]) -> None:
|
||||||
for key in filedict.keys():
|
for key in filedict.keys():
|
||||||
if key not in needed_data[file]:
|
if key not in needed_data[file]:
|
||||||
raise ValueError(f"Found unintended key {key} in file {file}.")
|
raise ValueError(f"Found unintended key {key} in file {file}.")
|
||||||
elif not set(needed_data[file]).issubset(filedict.keys()):
|
if not set(needed_data[file]).issubset(filedict.keys()):
|
||||||
for key in needed_data[file]:
|
for key in needed_data[file]:
|
||||||
if key not in filedict.keys():
|
if key not in filedict.keys():
|
||||||
raise ValueError(f"Did not find data for key {key} that should be in file {file}.")
|
raise ValueError(f"Did not find data for key {key} that should be in file {file}.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue