Changeset 31220 for trunk/ippToPsps/jython/initbatch.py
- Timestamp:
- Apr 6, 2011, 10:23:26 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/initbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/initbatch.py
r31180 r31220 2 2 3 3 import stilts 4 import logging 5 import logging.config 4 6 from java.lang import * 5 7 from java.sql import * … … 14 16 Constructor 15 17 ''' 16 def __init__(self ):17 super(InitBatch, self).__init__( "init")18 def __init__(self, logger): 19 super(InitBatch, self).__init__(logger, "init") 18 20 19 self.outputFitsPath = "00000000.FITS"; 21 self.outputFitsFile = "00000000.FITS"; 22 self.outputFitsPath = self.localOutPath + "/" + self.outputFitsFile 20 23 21 22 initBatch = InitBatch() 24 logging.config.fileConfig("logging.conf") 25 logger = logging.getLogger("initbatch") 26 initBatch = InitBatch(logger) 23 27 initBatch.createEmptyPspsTables() 24 28 initBatch.exportPspsTablesToFits()
Note:
See TracChangeset
for help on using the changeset viewer.
