IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2011, 10:05:10 AM (15 years ago)
Author:
eugene
Message:

merging updates from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110404/ippToPsps/jython/initbatch.py

    r31118 r31439  
    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__(
    18                "init",
    19                "",
    20                "init.fits",
    21                "localhost",
    22                "ipptopsps_scratch",
    23                "ipp",
    24                "ipp")
     18    def __init__(self, logger):
     19       super(InitBatch, self).__init__(logger, "init")
    2520
    26 initBatch = InitBatch()
     21       self.outputFitsFile = "00000000.FITS";
     22       self.outputFitsPath = self.localOutPath + "/" + self.outputFitsFile
     23
     24logging.config.fileConfig("logging.conf")
     25logger = logging.getLogger("initbatch")
     26initBatch = InitBatch(logger)
    2727initBatch.createEmptyPspsTables()
    2828initBatch.exportPspsTablesToFits()
     29initBatch.writeBatchManifest()
Note: See TracChangeset for help on using the changeset viewer.