remove unnecessary output when results are empty #28
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue