IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33162


Ignore:
Timestamp:
Jan 26, 2012, 1:58:06 PM (14 years ago)
Author:
rhenders
Message:

new method to reset only detections from scratch Db

File:
1 edited

Legend:

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

    r33161 r33162  
    5858    def isThisDvoCurrentlyIngested(self):
    5959        return self.correctDvo
     60
     61    '''
     62    Resets all detections. Be careful
     63    '''
     64    def resetDetections(self):
     65        self.scratchDb.resetOnlyDetectionDvoTables()
    6066
    6167    '''
     
    246252
    247253           # if we have not already ingested the cpm table, then do it now
    248            if not  self.scratchDb.alreadyImportedThisDvoTable(cpmPath):
     254           if not self.scratchDb.alreadyImportedThisDvoTable(cpmPath):
    249255           
    250256               # import cpm table and index
     
    400406dvo.isThisDvoCurrentlyIngested()
    401407#dvo.resetAllTables()
     408#dvo.resetDetections()
    402409dvo.getSizeAlreadyIngested()
    403410dvo.loadImages()
    404411dvo.loadSkyTable()
    405 dvo.loadRegion(330, 331, 0.2, 3)
     412dvo.loadRegion(330, 330.1, 0.2, 0.4)
    406413#dvo.loadRegion()
    407414
Note: See TracChangeset for help on using the changeset viewer.