Skip to content

Commit

Permalink
fixing file matching for spectrograph stacking
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmejia committed Feb 14, 2024
1 parent cbb4141 commit b52ad67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lvmdrp/functions/run_drp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ def combine_spectrographs(tileid: int, mjd: int, channel: str, expnum: int) -> R
"""

hsci_paths = sorted(path.expand('lvm_anc', mjd=mjd, tileid=tileid, drpver=drpver,
kind='h', camera=f'{channel}*', imagetype='object', expnum=expnum))
kind='h', camera=f'{channel}[123]', imagetype='object', expnum=expnum))

if not hsci_paths:
log.error(f'no rectified frames found for {expnum = }, {channel = }')
Expand Down

0 comments on commit b52ad67

Please sign in to comment.