IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33831 for trunk/ippToPsps


Ignore:
Timestamp:
Apr 27, 2012, 1:29:01 PM (14 years ago)
Author:
rhenders
Message:

decision to ingest DVO should only be for P2s

File:
1 edited

Legend:

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

    r33796 r33831  
    163163                        self.logger.infoPair("smfs-per-GB", "%.1f" % smfsPerGB)
    164164                        # should do we pre-ingest stuff from DVO?
    165                         if smfsPerGB > 30:
     165                        if batchType = 'P2' and smfsPerGB > 30:
    166166                            if not self.dvoDetections.sync():
    167167                                self.logger.errorPair("Could not sync DVO with MySQL", "skipping")
Note: See TracChangeset for help on using the changeset viewer.