This commit is contained in:
2020-11-03 15:56:32 +01:00
parent fe7d3f60d0
commit 0e95be7d2d
2 changed files with 8 additions and 2 deletions

View File

@ -8,6 +8,7 @@ from utils.epics import DataGetter, DataPutter
from utils.execute import parallel, serial
from utils.fileio import load_config, load_csv, store_csv
from utils.printing import print_good, print_bad, itemize
from utils.seq import is_empty
def run(clargs):
@ -76,7 +77,7 @@ def run_goto(clargs):
if not clargs.quiet:
all_names = df.index
ignored = all_names[~which]
if ignored.size != 0:
if not is_empty(ignored):
print("ignored due to alarm state:")
print(itemize(ignored))
print()
@ -88,7 +89,7 @@ def run_goto(clargs):
which = df.notnull()
all_names = df.index
ignored = all_names[~which]
if ignored.size != 0:
if not is_empty(ignored):
print("ignored due to NaN value:")
print(itemize(ignored))
print()