IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2017, 3:39:24 PM (9 years ago)
Author:
heather
Message:

This fixes the bad min/max objid ranges for batches. (it has been tested and works!)

File:
1 edited

Legend:

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

    r40011 r40187  
    657657        # each of the "populate*" methods below add their tables to the list:
    658658        self.tablesToExport=[]
     659        tables = [] # list of tables to calculate min/max objid on...
    659660   
    660661        for num in self.number:   
     
    675676                raise
    676677            self.tablesToExport.append(myTable)
    677 
    678             self.logger.infoPair("setting min/max objid from", myTable)
    679             self.setMinMaxObjID([myTable])
     678            tables.append(myTable)
     679            #self.logger.infoPair("setting min/max objid from", myTable)
     680 
     681            #self.setMinMaxObjID([myTable])
    680682
    681683            # populateForcedWarpMeasurement also populates ForcedWarpMasked (from ForcedWarpMeasurement)
     
    697699            self.populateForcedWarpToImage(num)
    698700            self.tablesToExport.append(myTable)
     701        self.logger.infoPair("setting min/max objid from", "all the fw tables")
     702        self.setMinMaxObjID(tables)
     703        self.logger.infoPair("finishing","populatePspsTables")
     704
    699705           
    700             self.logger.infoPair("finishing","populatePspsTables")
    701 
    702706
    703707        return True
Note: See TracChangeset for help on using the changeset viewer.