From 77afb7507632676d5cfa5e1bdd41ae5aa14ba191 Mon Sep 17 00:00:00 2001 From: Choi Date: Thu, 3 Dec 2020 00:15:04 -0500 Subject: [PATCH] update on shutnr option --- generator_brute.py | 2 +- receiver_brute.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generator_brute.py b/generator_brute.py index a14ea26..bca94da 100644 --- a/generator_brute.py +++ b/generator_brute.py @@ -31,7 +31,7 @@ with open(args.config, "r") as df: cfg = json.load(df) ## overwriting shotnum if given by user -if args.shotnum: +if args.shotnr: cfg['shotnr'] = args.shotnr expinfo = {} diff --git a/receiver_brute.py b/receiver_brute.py index 2bdc046..8f7aed1 100644 --- a/receiver_brute.py +++ b/receiver_brute.py @@ -130,7 +130,7 @@ def myrelativetime(arg=None, arg2=None): with open(args.config, "r") as df: cfg = json.load(df) -if args.shotnum: +if args.shotnr: cfg['shotnr'] = args.shotnr expinfo = {}