Changeset 39544 for trunk/ippToPsps/jython/detectionbatch.py
- Timestamp:
- Apr 19, 2016, 4:20:30 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r39315 r39544 686 686 if self.config.test: self.logger.errorPair("No header found for chip", chipname) 687 687 return False 688 688 # self.logger.infoPair("extname is ",self.fits[0]) 689 689 690 # check we have valid sourceID/imageID pair from the header 690 if self.getKeyValue(header, 'SOURCEID') == "NULL": return False 691 # hardwire it 692 if self.getKeyValue(header, 'SOURCEID') == "NULL": 693 header['SOURCEID']=0 694 self.logger.infoPair("no sourceid, using:",header['SOURCEID']) 691 695 if self.getKeyValue(header, 'IMAGEID') == "NULL": return False 692 696 … … 697 701 self.imageIDs[chipname] = header['IMAGEID'] 698 702 self.sourceIDs[chipname] = header['SOURCEID'] 703 #self.sourceIDs[chipname] = 33 699 704 700 705 # populate ImageMeta
Note:
See TracChangeset
for help on using the changeset viewer.
