コード例 #1
0
ファイル: cv.py プロジェクト: rlim19/DumpScripts
    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)
コード例 #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)
コード例 #3
0
ファイル: mdb.py プロジェクト: bowhan/kent
 def __init__(self, filepath):
     RaFile.__init__(self)
     self.read(filepath)
コード例 #4
0
ファイル: mdb.py プロジェクト: Pfiver/RNA-Seqlyze
 def __init__(self, filepath):
     RaFile.__init__(self)
     self.read(filepath)