Skip to content

Commit

Permalink
remove check on science exps in proc_night in order to process
Browse files Browse the repository at this point in the history
  • Loading branch information
akremin committed Oct 11, 2024
1 parent fa2a2d8 commit db05204
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions py/desispec/scripts/proc_night.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,7 @@ def proc_night(night=None, proc_obstypes=None, z_submit_types=None,
else:
ptable_expids = set()
etable_expids = set(etable['EXPID'][etable['OBSTYPE']=='science'])
if len(etable_expids) == 0:
log.info(f"No science exposures yet. Exiting at {time.asctime()}.")
return ptable, None
elif len(etable_expids.difference(ptable_expids)) == 0:
if len(etable_expids.difference(ptable_expids)) == 0:
log.info("All science EXPID's already present in processing table, "
+ f"nothing to run. Exiting at {time.asctime()}.")
return ptable, None
Expand Down

0 comments on commit db05204

Please sign in to comment.