Beispiel #1
0
    def __init__(self, filePath=None, handler=None, protocolPath=None):
        """sets up exception handling method, and optionally reads from a file"""
        RaFile.__init__(self)

        self.handler = handler
        if handler == None:
            self.handler = self.raiseException

        if filePath == None:
            filePath = encodeUtils.defaultCvPath()

        self.protocolPath = protocolPath
        if protocolPath == None:
            self.protocolPath == os.path.expanduser("~/htdocsExtras/ENCODE/")

        self.missingTypes = set()

        self.read(filePath)
Beispiel #2
0
    def __init__(self, filePath=None, handler=None, protocolPath=None):
        '''sets up exception handling method, and optionally reads from a file'''
        RaFile.__init__(self)

        self.handler = handler
        if handler == None:
            self.handler = self.raiseException

        if filePath == None:
            filePath = encodeUtils.defaultCvPath()

        self.protocolPath = protocolPath
        if protocolPath == None:
            self.protocolPath == os.path.expanduser('~/htdocsExtras/ENCODE/')

        self.missingTypes = set()

        self.read(filePath)
Beispiel #3
0
 def __init__(self, filepath):
     RaFile.__init__(self)
     self.read(filepath)
Beispiel #4
0
 def __init__(self, filepath):
     RaFile.__init__(self)
     self.read(filepath)