Changeset 40226
- Timestamp:
- Nov 30, 2017, 8:42:22 PM (9 years ago)
- Location:
- trunk/ippToPsps/jython
- Files:
-
- 2 edited
-
dvoforcedobjects.py (modified) (1 diff)
-
forcedwarpbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvoforcedobjects.py
r39008 r40226 48 48 cmd += " -cpt " + region 49 49 50 if self.config.test: 51 cmd += " -test-mode" 52 50 53 if self.skychunk.parallel: 51 54 if self.scratchDb.dbHost == "localhost": -
trunk/ippToPsps/jython/forcedwarpbatch.py
r40208 r40226 424 424 # self.selectDvoObjIDs() 425 425 self.logger.infoPair("inserting dvo info: find imageID", "from externID") 426 imageID = self.scratchDb.getImageIDFromExternIDandPhotcodeRange(self.warpSkyFileID[num],12000,12500) 427 self.logger.infoPair("I don't like this", "it is hardwired to gpc1") 426 427 # get the imageID: this code has cases for simtest vs gpc1 cameras 428 # if self.config.test: 429 self.logger.infoPair("current camera is", self.config.camera) 430 if self.config.camera == "gpc1": 431 self.logger.infoPair("I don't like this", "it is hardwired to gpc1") 432 imageID = self.scratchDb.getImageIDFromExternIDandPhotcodeRange(self.warpSkyFileID[num],12000,12500) 433 if self.config.camera == "simtest": 434 imageID = self.scratchDb.getImageIDFromExternIDandPhotcodeRange(self.warpSkyFileID[num],15100,15500) 435 if imageID == 0: 436 self.logger.infoPair ("failed to get imageID for", str(num)) 437 raise 438 428 439 self.logger.infoPair("updating", pspsTableName) 429 440 … … 680 691 self.logger.infoPair("Populating", myTable) 681 692 if not self.populateForcedWarpMeasurement(num): 682 self.logger.infoPair (" skipppingForcedWarpMeasurement", str(num))693 self.logger.infoPair ("failed on ForcedWarpMeasurement", str(num)) 683 694 #continue 684 695 raise
Note:
See TracChangeset
for help on using the changeset viewer.
