parser.add_argument("-lx","--lxplus-file","--lxplus",help="Specify bsub parameter file for LXPLUS submission. Run LXPLUS submission via bsub instead of calling Corryvreckan directly",metavar="FILE")
parser.add_argument("-csv","--csv-file",help="Load additional run-specific variables from table (text file in csv format)",metavar="FILE")
parser.add_argument("--log-file",help="Save submission log to specified file",metavar="FILE")
parser.add_argument("-l","--log",default="info",help="Sets the verbosity of log messages during job submission where LEVEL is either debug, info, warning or error",metavar="LEVEL")
parser.add_argument("-v","--verbosity",default="info",help="Sets the verbosity of log messages during job submission where LEVEL is either debug, info, warning or error",metavar="LEVEL")
parser.add_argument("-s","--silent",action="store_true",default=False,help="Suppress non-error (stdout) Corryvreckan output to console")
parser.add_argument("--dry-run",action="store_true",default=False,help="Write configuration files but skip actual Corryvreckan execution")
parser.add_argument("--subdir",action="store_true",default=False,help="Execute every job in its own subdirectory instead of all in the base path")
...
...
@@ -479,11 +479,11 @@ def main(argv=None):
# set the logging level
numeric_level=getattr(logging,"INFO",None)# default: INFO messages and above
ifargs.log:
ifargs.verbosity:
# Convert log level to upper case to allow the user to specify --log=DEBUG or --log=debug