Changeset 38973 for trunk/ippToPsps/jython/detectionbatch.py
- Timestamp:
- Oct 27, 2015, 2:38:19 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r38958 r38973 341 341 self.scratchDb.execute(sql) 342 342 343 print "---- inserted ImageMeta into mysql"343 self.logger.debugPair("inserted into mysql", "ImageMeta") 344 344 345 345 self.scratchDb.updateRecalStats(tableName, header['IMAGEID'], str(pltscale)); … … 347 347 self.scratchDb.updateAllRows(tableName, "processingVersion", str(self.skychunk.processingVersion)) 348 348 349 print "---- updated things"350 351 349 if 'NASTRO' in header: self.totalNumPhotoRef = self.totalNumPhotoRef + int(header['NASTRO']) 352 350 self.scratchDb.replaceNullsInThisColumn(tableName, "polyOrder", "0") 353 351 354 print "---- completed ImageMeta"352 self.logger.debugPair("completed", "ImageMeta") 355 353 return True 356 354 … … 691 689 for y in range(self.startY, self.endY): 692 690 691 ## for a quick test, just do the first chip: 692 if self.config.test and self.config.camera == "gpc1": 693 if x != 0 or y != 1: continue 694 693 695 # dodge the corners 694 696 if x==0 and y==0: continue … … 717 719 for x in range(self.startX, self.endX): 718 720 for y in range(self.startY, self.endY): 721 722 ## for a quick test, just do the first chip: 723 if self.config.test and self.config.camera == "gpc1": 724 if x != 0 or y != 1: continue 719 725 720 726 # dodge the corners … … 927 933 for y in range(self.startY, self.endY): 928 934 935 ## for a quick test, just do the first chip: 936 if self.config.test and self.config.camera == "gpc1": 937 if x != 0 or y != 1: continue 938 929 939 # dodge the corners 930 940 if x==0 and y==0: continue … … 1050 1060 def importIppTables(self, filter=""): 1051 1061 1052 regex = ".*.psf" 1062 ## XXX does the regex work? 1063 regex = "XY*" 1053 1064 1054 if False and self.config.test and self.config.camera == "gpc1": 1055 regex = "XY01.psf" 1065 ## for a quick test, just do the first chip: 1066 if self.config.test and self.config.camera == "gpc1": 1067 regex = "XY01*" 1056 1068 1057 1069 print "my ID: " + str(self.id) … … 1066 1078 #### crap crap crap 1067 1079 1068 regex = ".*" 1080 ## this is apparently over-riding the choices above 1081 ## regex = ".*" 1082 1083 ## the list of columns above works fine for *.psf, but breaks the *.deteff tables 1084 ## just read all columns 1069 1085 columns = "*" 1070 1086
Note:
See TracChangeset
for help on using the changeset viewer.
