diff --git a/commands.py b/commands.py index 0911ee7c84739a1916359697aad0e6bc11ad745b..4f1a1c32903fc6cb5275477de4a564813b15819e 100644 --- a/commands.py +++ b/commands.py @@ -3,15 +3,14 @@ import numpy as np import pandas as pd import epics -from utils.df import drop_col, compare_dfs, count_true +from utils.df import drop_col, compare_dfs 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, print_outcome, print_ignored -from utils.seq import is_empty -def run(clargs): +def run_command(clargs): commands = { "check": run_check, "compare": run_compare, diff --git a/sani.py b/sani.py index 448ef837c1343204f8cc0bea70a1fa48794c05dc..ce343959002e24fa821ed26f23a00c7ad5f1a86a 100755 --- a/sani.py +++ b/sani.py @@ -3,8 +3,8 @@ def main(): clargs = handle_clargs() - from commands import run - run(clargs) + from commands import run_command + run_command(clargs) def handle_clargs():