add list for stat types
This commit is contained in:
parent
b51a69bc69
commit
6b2db911bf
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ def update(
|
||||||
|
|
||||||
|
|
||||||
@app.command()
|
@app.command()
|
||||||
def list(
|
def lister(
|
||||||
path: str = typer.Option(
|
path: str = typer.Option(
|
||||||
str('./corrlib'),
|
str('./corrlib'),
|
||||||
"--dataset",
|
"--dataset",
|
||||||
|
|
@ -127,7 +127,7 @@ def stat(
|
||||||
Show the statistics of a given record.
|
Show the statistics of a given record.
|
||||||
"""
|
"""
|
||||||
record = mio_load_record(path, record_id)
|
record = mio_load_record(path, record_id)
|
||||||
if isinstance(record, Corr):
|
if isinstance(record, (list, Corr)):
|
||||||
record = record[0]
|
record = record[0]
|
||||||
statistics = record.idl
|
statistics = record.idl
|
||||||
print(statistics)
|
print(statistics)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue