IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35190


Ignore:
Timestamp:
Feb 21, 2013, 8:48:35 AM (13 years ago)
Author:
eugene
Message:

comment out request for confirmation to delete dvoDetectionFull

File:
1 edited

Legend:

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

    r35183 r35190  
    394394        self.logger.infoPair("Purging", "%d regions" % len(regions))
    395395
    396         detectionDeleteCount = self.scratchDb.purgeTheseDvoRegions(regions, self.ingestFileTypes)
    397         if detectionDeleteCount > 0: self.logger.infoPair("Deleted", "%d detections" % detectionDeleteCount)
     396        self.scratchDb.purgeTheseDvoRegions(regions, self.ingestFileTypes)
     397
     398        ## detectionDeleteCount = self.scratchDb.purgeTheseDvoRegions(regions, self.ingestFileTypes)
     399        ## if detectionDeleteCount > 0: self.logger.infoPair("Deleted", "%d detections" % detectionDeleteCount)
    398400
    399401        return True
     
    590592        self.ippToPspsDb.clearIngestedBoxes(self.scratchDb.dbHost)
    591593       
    592         print "*******************************************************************************"
    593         self.logger.warning("about to delete detection table and re-ingest; is this correct?")
    594         response = raw_input("(y/n) ")
    595         if response != "y":
    596             raise
    597         self.logger.warning("Are you ABSOLUTELY sure you want to do this?")
    598         response = raw_input("(y/n) ")
    599         if response != "y":
    600             raise
     594        ## print "*******************************************************************************"
     595        ## self.logger.warning("about to delete detection table and re-ingest; is this correct?")
     596        ## response = raw_input("(y/n) ")
     597        ## if response != "y":
     598        ##     raise
     599        ## self.logger.warning("Are you ABSOLUTELY sure you want to do this?")
     600        ## response = raw_input("(y/n) ")
     601        ## if response != "y":
     602        ##     raise
    601603
    602604        # drop detections table
Note: See TracChangeset for help on using the changeset viewer.