Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
0
Arquivo: mdb.py Projeto: bowhan/kent
 def __init__(self, filepath):
     RaFile.__init__(self)
     self.read(filepath)
Exemplo n.º 4
0
 def __init__(self, filepath):
     RaFile.__init__(self)
     self.read(filepath)