fix/uv-setup #21

Merged
jkuhl merged 27 commits from fix/uv-setup into develop 2026-03-23 12:40:22 +01:00
Showing only changes of commit 6b2db911bf - Show all commits

add list for stat types
Some checks failed
Mypy / mypy (push) Failing after 19s
Pytest / pytest (3.12) (push) Failing after 5s
Pytest / pytest (3.13) (push) Failing after 2s
Pytest / pytest (3.14) (push) Failing after 3s
Ruff / ruff (push) Failing after 2s

Justus Kuhlmann 2026-03-20 12:56:27 +01:00
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -39,7 +39,7 @@ def update(
@app.command()
def list(
def lister(
path: str = typer.Option(
str('./corrlib'),
"--dataset",
@ -127,7 +127,7 @@ def stat(
Show the statistics of a given record.
"""
record = mio_load_record(path, record_id)
if isinstance(record, Corr):
if isinstance(record, (list, Corr)):
record = record[0]
statistics = record.idl
print(statistics)