IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2011, 6:31:08 PM (15 years ago)
Author:
watersc1
Message:

merge from trunk

Location:
branches/czw_branch/20110406
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20110406

  • branches/czw_branch/20110406/ippToPsps/jython/initbatch.py

    r31180 r31253  
    22
    33import stilts
     4import logging
     5import logging.config
    46from java.lang import *
    57from java.sql import *
     
    1416    Constructor
    1517    '''
    16     def __init__(self):
    17        super(InitBatch, self).__init__("init")
     18    def __init__(self, logger):
     19       super(InitBatch, self).__init__(logger, "init")
    1820
    19        self.outputFitsPath = "00000000.FITS";
     21       self.outputFitsFile = "00000000.FITS";
     22       self.outputFitsPath = self.localOutPath + "/" + self.outputFitsFile
    2023
    21 
    22 initBatch = InitBatch()
     24logging.config.fileConfig("logging.conf")
     25logger = logging.getLogger("initbatch")
     26initBatch = InitBatch(logger)
    2327initBatch.createEmptyPspsTables()
    2428initBatch.exportPspsTablesToFits()
Note: See TracChangeset for help on using the changeset viewer.