Skip to content

Commit

Permalink
don't apply patches to already patched zcatalog
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Sep 19, 2023
1 parent f8eb825 commit db91504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/specprodDB/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -1706,9 +1706,10 @@ def main():
log.info("Loading %s from %s.", tn, str(l['filepaths']))
load_file(**l)
log.info("Finished loading %s.", tn)
if redshift_type != 'zcat' and options.load == 'fiberassign':
if options.load == 'fiberassign' and redshift_type not in ('patch', 'zcat'):
#
# Fiberassign table has to be loaded for this step.
# Eventually we want to eliminate this entirely.
#
log.info("Applying target bitmask corrections for %s to zpix table.",
specprod)
Expand Down

0 comments on commit db91504

Please sign in to comment.