Skip to content

Commit

Permalink
pass comments to write_bintable
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Sep 13, 2024
1 parent c5f6b23 commit 9b5d33d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/desispec/scripts/zcatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,10 +586,10 @@ def main(args=None):
tmpfile = get_tempfilename(args.outfile)

write_bintable(tmpfile, zcat, header=header, extname='ZCATALOG',
units=units, clobber=True)
units=units, comments=comments, clobber=True)

if not args.minimal and expfm is not None:
write_bintable(tmpfile, expfm, extname='EXP_FIBERMAP', units=units)
write_bintable(tmpfile, expfm, extname='EXP_FIBERMAP', units=units, comments=comments)

os.rename(tmpfile, args.outfile)

Expand Down

0 comments on commit 9b5d33d

Please sign in to comment.