Skip to content

Commit

Permalink
add cat version to outdir in zcat wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
akremin committed Nov 26, 2024
1 parent 2cb3b84 commit ff35d27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions py/desispec/scripts/zcatalog_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def main(args=None):
version=args.cat_version,
groupname=args.group,
survey='dummy', faprogram='dummy'))
else:
args.outdir = os.path.join(args.outdir, args.cat_version)
log.info(f"Writing outputs to the following directory: {args.outdir}")

logdir = os.path.join(args.outdir, 'logs')
if not os.path.exists(logdir):
Expand Down

0 comments on commit ff35d27

Please sign in to comment.