Compare commits

...

2 commits

Author SHA1 Message Date
8ff555a639 Merge pull request 'remove unnecessary output when results are empty' (#28) from feat/empty_find into develop
Some checks failed
Mypy / mypy (push) Failing after 1m11s
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
Reviewed-on: https://www.kuhl-mann.de/git/git/jkuhl/corrlib/pulls/28
2026-04-09 15:57:31 +02:00
7275fdd4f3
remove unnecessary output when results are empty
All checks were successful
Mypy / mypy (pull_request) Successful in 1m11s
Pytest / pytest (3.12) (pull_request) Successful in 1m28s
Pytest / pytest (3.13) (pull_request) Successful in 1m17s
Pytest / pytest (3.14) (pull_request) Successful in 1m12s
Ruff / ruff (pull_request) Successful in 1m3s
2026-04-08 17:28:54 +02:00

View file

@ -108,6 +108,8 @@ def find(
Find a record in the backlog at hand. Through specifying it's ensemble and the measured correlator.
"""
results = find_record(path, ensemble, corr, code)
if results.empty:
return
if arg == 'all':
print(results)
else: