Skip to content

Commit

Permalink
Fixed proj_code/subset mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dwest77a committed Feb 6, 2024
1 parent 8f133a4 commit b8b841f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions single_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ def main(args):
if cmd_groupdir != args.groupdir:
logger.warning(f'Overriding environment-defined groupdir value with: {cmd_groupdir}')
args.groupdir = cmd_groupdir

proj_code = int(args.proj_code)

subset_id = args.subset
args.proj_code = get_proj_code(args.groupdir, subset_id, args.repeat_id, subset=args.subset, id=id)
args.proj_code = get_proj_code(args.groupdir, proj_code, args.repeat_id, subset=args.subset, id=id)
args.proj_dir = f'{args.workdir}/in_progress/{args.groupID}/{args.proj_code}'

# Get ID from within a job?
Expand Down

0 comments on commit b8b841f

Please sign in to comment.