- Timestamp:
- Aug 12, 2014, 3:18:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140717/ippToPsps/jython/batch.py
r37232 r37238 39 39 fits): 40 40 41 # print "starting the batch"42 43 # self.printline = 044 # self.testprint()45 46 41 self.readHeader = False 47 42 self.config = config … … 53 48 self.logger.infoSeparator() 54 49 self.logger.debug("Batch class constructor") 55 56 # self.testprint()57 50 58 51 # set up class variables … … 66 59 self.pspsVoTableFilePath = self.config.configDir + "tables." + batchType + ".vot" 67 60 68 # self.testprint()69 70 61 # check FITS file is ok 71 62 if self.fits: … … 106 97 if not os.path.exists(self.localOutPath): os.makedirs(self.localOutPath) 107 98 108 # self.testprint()109 110 99 # store today's date 111 100 now = datetime.datetime.now(); … … 123 112 self.logger.infoPair("Input FITS file", self.fits.getOriginalPath()) 124 113 self.logger.infoPair("Input FITS primary header", "%s cards found" % self.fits.getPrimaryHeaderCardCount()) 125 126 # self.testprint()127 114 128 115 self.logger.infoPair("Output path", self.localOutPath) … … 493 480 # get everything from table 494 481 try: 495 print "reading table from mysql ", table496 482 _table = stilts.tread(self.scratchDb.url + '#SELECT * FROM ' + table) 497 483 self.scratchDb.killLastConnectionID()
Note:
See TracChangeset
for help on using the changeset viewer.
