IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2012, 11:38:18 AM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20120627/ippToPsps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120627/ippToPsps

    • Property svn:mergeinfo deleted
  • branches/eam_branches/ipp-20120627/ippToPsps/jython/stackbatch.py

    r33962 r34241  
    397397
    398398        self.scratchDb.execute(sql)
     399        #it is possible to drop some detections from dvo (that are present in the cmf). when that happens we get a 0 for objid
     400        #we drop those...
     401        sql="DELETE FROM StackDetection where objID = 0"
     402        self.scratchDb.execute(sql)
     403        self.logger.infoPair("Deleting", "entries with StackDetection.objID = 0")
    399404
    400405        self.scratchDb.updateAllRows("StackDetection", "surveyID", str(self.surveyID))
     
    421426        self.scratchDb.reportAndDeleteRowsWithNULLS("StackDetection", "instFlux")
    422427        self.scratchDb.reportAndDeleteRowsWithNULLS("StackDetection", "objID")
     428        sql="DELETE FROM StackDetection where objID = 0"
     429        self.scratchDb.execute(sql)
     430        self.logger.infoPair("Deleting", "entries with StackDetection.objID = 0")
    423431
    424432
Note: See TracChangeset for help on using the changeset viewer.