IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 16, 2017, 6:57:49 PM (9 years ago)
Author:
heather
Message:

changes to make fw / p2 work around various dvo / cmf/smf issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/forcedwarpbatch.py

    r40187 r40208  
    457457        self.logger.infoPair("row count of ForcedWarpMeasurement after cull of null objID ", rowCountAfter)
    458458        if rowCountAfter == 0:
    459             self.skipBatch = True
    460             self.logger.infoPair ("skip this batch", "it is bad")
    461             return False
     459            if self.haveLensPSF[num] ==0:
     460                self.logger.infoPair("skipping this table", "no lenspsf and no dvo, run this:")
     461                self.logger.infoPair("update addRun join addProcessedExp using (add_id) set fault = 43 where add_id = ",str(self.number[num]))
     462                self.skipBatch = True
     463                return False
     464            else:   
     465                self.skipBatch = True
     466                self.logger.infoPair ("skip this batch", "it is bad")
     467                return False
     468
     469
    462470
    463471        self.logger.infoPair("Adding 'row' columns to", pspsTableName)
     
    766774            self.haveLensPSF[num] = 0
    767775            self.haveLensing[num] = 0
     776
    768777            for table in tables:
    769778                # check for AP_NPIX columns: missing for SAS39
Note: See TracChangeset for help on using the changeset viewer.