diff --git a/corrlib/cli.py b/corrlib/cli.py index ff74527..b808c13 100644 --- a/corrlib/cli.py +++ b/corrlib/cli.py @@ -90,11 +90,6 @@ def find( "--dataset", "-d", ), - arg: str = typer.Option( - str('all'), - "--show", - "-s", - ), ensemble: str = typer.Argument(), corr: str = typer.Argument(), code: str = typer.Argument(), @@ -103,12 +98,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 arg == "all": - print(results) - else: - for i in range(len(results)): - print(results[arg].values[i]) - return + print(results) + @app.command() def importer(