Skip to content

Commit

Permalink
Update args_sims.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AJRubio-Montero authored Nov 18, 2021
1 parent 45c0835 commit c31eb86
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions wrappers/args_sims.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,11 @@ def get_sys_args_S0():
help='Enable DEBUG mode')
# echo -e " -a : \
# Enable high energy cuts for secondaries"
parser.add_argument('-a', action='store_true', default=None,
help='Enable high energy cuts for secondaries')
# added by HA - Now -a option expect the ecut value in GeV. 04/OCT/2021
# parser.add_argument('-a', action='store_true', default=None,
# help='Enable high energy cuts for secondaries')
parser.add_argument('-a', dest='a', type=int, default=0,
help='Enable and set high energy cuts for secondaries')
# echo -e " -k <altitude, in cm> : \
# Fix altitude, even for predefined sites"
parser.add_argument('-k', dest='k', type=float,
Expand Down Expand Up @@ -222,7 +225,7 @@ def get_sys_args_S0():
codename += '_Cherenk'

if args_dict['a'] is True:
codename += '_HEcuts'
codename += '_HEcuts'+ str(args_dict['a'])

if args_dict['x'] is True:
codename += '_defaults'
Expand Down

0 comments on commit c31eb86

Please sign in to comment.