IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2012, 12:02:48 PM (14 years ago)
Author:
rhenders
Message:

Big changes to support a new Config class that encapuslates the xml config file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/gpc1db.py

    r33186 r33259  
    2020    Constructor
    2121    '''
    22     def __init__(self, logger, doc):
    23         super(Gpc1Db, self).__init__(logger, doc, "gpc1database")
     22    def __init__(self, logger, config):
     23        super(Gpc1Db, self).__init__(logger, config, "gpc1database")
    2424
    2525    '''
     
    227227        if len(files) < 1: return None
    228228
    229         return Fits(self.logger, self.doc, files[0]) # TODO just returning first file - check
     229        return Fits(self.logger, self.config, files[0]) # TODO just returning first file - check
    230230
    231231
     
    304304
    305305                    # if we get here, then the cmf is readable, now check the stack_id
    306                     fits = Fits(self.logger, self.doc, path)
     306                    fits = Fits(self.logger, self.config, path)
    307307                    if fits.getPrimaryHeaderValue("STK_ID") == str(stackID):
    308308                        # we have the right file!
Note: See TracChangeset for help on using the changeset viewer.