Skip to content

Commit

Permalink
debugging exp_fibermap stacking
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Sep 13, 2024
1 parent 552548d commit 29ad89e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion py/desispec/scripts/zcatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,11 @@ def main(args=None):
desiutil.depend.mergedep(dependencies, zcat.meta)
if exp_fibermaps:
log.info('Stacking exposure fibermaps')
expfm = np.hstack(exp_fibermaps)
try:
expfm = np.hstack(exp_fibermaps)
except TypeError:
log.error(str(exp_fibermaps))
expfm = None
else:
expfm = None

Expand Down

0 comments on commit 29ad89e

Please sign in to comment.