Skip to content
Snippets Groups Projects
Commit 4a9f3a7d authored by Carlo Guidi's avatar Carlo Guidi
Browse files

Apply suggestion to scripts/acoustics.py

parent 129f49e4
No related branches found
No related tags found
No related merge requests found
......@@ -31,19 +31,11 @@ def diff(first, second):
return [item for item in first if item not in second]
parser = argparse.ArgumentParser(description = 'Online_monitoring')
parser.add_argument('-d', dest = 'det_id', type = str, nargs = 1, required = True,
help = 'The detector ID (e.g. D_ORCA005)')
parser.add_argument('-ndu', dest = 'n_dus', type = int, nargs = 1, required = True,
help = 'Number of DUs (e.g. 5)')
parser.add_argument('-o', dest = 'plot_dir', type = str, nargs = 1, required = True,
help = 'Directory in which the plot is saved')
args = parser.parse_args()
detid = args.det_id[0]
directory = args.plot_dir[0]
N_DUS = args.n_dus[0]
args = docopt(__doc__)
detid = args['-d']
directory = args['-o']
N_DUS = args['-n']
db = kp.db.DBManager()
sds = kp.db.StreamDS()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment