Skip to content

Commit

Permalink
submit yaml bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Mar 5, 2024
1 parent a81f555 commit 2f53d9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/condor/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions src/condor/submit_from_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 2f53d9e

Please sign in to comment.