diff --git a/src/condor/submit.py b/src/condor/submit.py index 3c071ced..18b26c65 100755 --- a/src/condor/submit.py +++ b/src/condor/submit.py @@ -129,9 +129,7 @@ def main(args): def parse_args(parser): parser.add_argument("--git-branch", required=True, help="git branch to use", type=str) parser.add_argument("--script", default="src/run.py", help="script to run", type=str) - parser.add_argument( - "--outdir", dest="outdir", default="outfiles", help="directory for output files", type=str - ) + parser.add_argument("--outdir", default="outfiles", help="directory for output files", type=str) parser.add_argument( "--site", default="lpc", diff --git a/src/condor/submit_from_yaml.py b/src/condor/submit_from_yaml.py index 0b1bbd1b..680971b5 100644 --- a/src/condor/submit_from_yaml.py +++ b/src/condor/submit_from_yaml.py @@ -40,8 +40,6 @@ def add_bool_arg(parser, name, help, default=False, no_name=None): with Path(args.yaml).open() as file: samples_to_submit = yaml.safe_load(file) - args.script = "run.py" - args.outdir = "outfiles" args.test = False tag = args.tag for key, tdict in samples_to_submit.items():