Skip to content

Commit

Permalink
update on shutnr option
Browse files Browse the repository at this point in the history
  • Loading branch information
jychoi-hpc committed Dec 3, 2020
1 parent 36edd0a commit 77afb75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator_brute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}

Expand Down
2 changes: 1 addition & 1 deletion receiver_brute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}

Expand Down

0 comments on commit 77afb75

Please sign in to comment.