refactor: cleaned up imports; renamed run -> run_command

This commit is contained in:
2020-11-04 15:31:34 +01:00
parent be0e5005d5
commit 1d96ec18d8
2 changed files with 4 additions and 5 deletions

View File

@ -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,

View File

@ -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():