IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2017, 3:01:23 PM (9 years ago)
Author:
heather
Message:

changes to make forcedwards correctly (not dropping things)

File:
1 edited

Legend:

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

    r39566 r40011  
    424424        # self.selectDvoObjIDs()
    425425        self.logger.infoPair("inserting dvo info: find imageID", "from externID")
    426         imageID = self.scratchDb.getImageIDFromExternID(self.warpSkyFileID[num])
     426        imageID = self.scratchDb.getImageIDFromExternIDandPhotcodeRange(self.warpSkyFileID[num],12000,12500)
     427        self.logger.infoPair("I don't like this", "it is hardwired to gpc1")
    427428        self.logger.infoPair("updating", pspsTableName)
    428429
     
    663664            if not self.populateForcedWarpMeta(num):
    664665                self.logger.infoPair ("failure for ForcedWarpMeta, skipping ", str(num))
    665                 continue
     666                #continue
     667                raise
    666668            self.tablesToExport.append(myTable)
    667669           
     
    670672            if not self.populateForcedWarpMeasurement(num):
    671673                self.logger.infoPair ("skippping ForcedWarpMeasurement", str(num))
    672                 continue
     674                #continue
     675                raise
    673676            self.tablesToExport.append(myTable)
    674677
Note: See TracChangeset for help on using the changeset viewer.