Compare commits
No commits in common. "d8ce7952b891c3f0e7e6c62a23d28e1de1a5e79d" and "0c0ffb314e73af57b39b8ef7f0cca430096cb4bb" have entirely different histories.
d8ce7952b8
...
0c0ffb314e
1 changed files with 2 additions and 11 deletions
|
|
@ -90,11 +90,6 @@ def find(
|
||||||
"--dataset",
|
"--dataset",
|
||||||
"-d",
|
"-d",
|
||||||
),
|
),
|
||||||
arg: str = typer.Option(
|
|
||||||
str('all'),
|
|
||||||
"--show",
|
|
||||||
"-s",
|
|
||||||
),
|
|
||||||
ensemble: str = typer.Argument(),
|
ensemble: str = typer.Argument(),
|
||||||
corr: str = typer.Argument(),
|
corr: str = typer.Argument(),
|
||||||
code: 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.
|
Find a record in the backlog at hand. Through specifying it's ensemble and the measured correlator.
|
||||||
"""
|
"""
|
||||||
results = find_record(path, ensemble, corr, code)
|
results = find_record(path, ensemble, corr, code)
|
||||||
if arg == "all":
|
print(results)
|
||||||
print(results)
|
|
||||||
else:
|
|
||||||
for i in range(len(results)):
|
|
||||||
print(results[arg].values[i])
|
|
||||||
return
|
|
||||||
|
|
||||||
@app.command()
|
@app.command()
|
||||||
def importer(
|
def importer(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue