当前位置: 首页>>代码示例>>Python>>正文


Python TestStatus.getTestSetup方法代码示例

本文整理汇总了Python中sonLib.bioio.TestStatus.getTestSetup方法的典型用法代码示例。如果您正苦于以下问题:Python TestStatus.getTestSetup方法的具体用法?Python TestStatus.getTestSetup怎么用?Python TestStatus.getTestSetup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在sonLib.bioio.TestStatus的用法示例。


在下文中一共展示了TestStatus.getTestSetup方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 1, 2, 2)
     self.depth = TestStatus.getTestSetup(1, 2, 3, 5)
     self.jobTreeDir = os.path.join(os.getcwd(), "jobTree") #A directory for the job tree to be created in
     self.tempFileTreeDir = os.path.join(os.getcwd(), "tempFileTree") #Ensures that file tree is visible
     self.tempFileTree = TempFileTree(self.tempFileTreeDir) #A place to get temp files from
开发者ID:decarlin,项目名称:jobTree,代码行数:9,代码来源:jobTreeTest.py

示例2: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 1, 5, 5)
     self.depth = TestStatus.getTestSetup(1, 2, 2, 3)
     self.jobTreeDir = os.getcwd() + "/jobTree" #A directory for the job tree to be created in
     self.tempFileTreeDir = os.path.join(os.getcwd(), "tempFileTree")
     self.tempFileTree = TempFileTree(self.tempFileTreeDir) #A place to get temp files from
     parasolRestart()
开发者ID:decarlin,项目名称:jobTree,代码行数:10,代码来源:jobTreeParasolCrashTest.py

示例3: testCactus_Random

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
def testCactus_Random(self, matchingAlgorithm):
    configFile = getConfigFile(matchingAlgorithm)
    runWorkflow_multipleExamples(getCactusInputs_random, 
                                 testNumber=TestStatus.getTestSetup(), 
                                 buildReference=True,
                                 configFile=configFile)
    os.remove(configFile)
开发者ID:benedictpaten,项目名称:cactus,代码行数:9,代码来源:cactus_referenceTest.py

示例4: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     #This is the number of random problems to solve, handed to the test code
     self.testNo = TestStatus.getTestSetup(shortTestNo=1, mediumTestNo=5, 
                                           longTestNo=10, veryLongTestNo=100)
     self.tempFiles = []
     self.tempDir = getTempDirectory(os.getcwd())
     self.tempBlossomDirectory = self.tempDir + "/tempBlossom"
     unittest.TestCase.setUp(self)
开发者ID:benedictpaten,项目名称:matchingAndOrdering,代码行数:10,代码来源:blossomTest.py

示例5: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     self.testNo = TestStatus.getTestSetup(1, 5, 10, 100)
     self.tempDir = getTempDirectory(os.getcwd())
     self.tempFiles = []
     unittest.TestCase.setUp(self)
     self.tempOutputFile = os.path.join(self.tempDir, "results1.txt")
     self.tempFiles.append(self.tempOutputFile)
     self.tempOutputFile2 = os.path.join(self.tempDir, "results2.txt")
     self.tempFiles.append(self.tempOutputFile2) 
     self.encodePath = os.path.join(TestStatus.getPathToDataSets(), "MAY-2005")
开发者ID:benedictpaten,项目名称:cactus,代码行数:12,代码来源:blastTest.py

示例6: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 2, 10, 10)
开发者ID:decarlin,项目名称:jobTree,代码行数:5,代码来源:statsTest.py

示例7: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     self.testNo = TestStatus.getTestSetup()
     unittest.TestCase.setUp(self)
开发者ID:adderan,项目名称:sonLib,代码行数:5,代码来源:nxnewickTest.py

示例8: testCactus_Random

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def testCactus_Random(self):
     """Build mafs from cactusDisks containing trees, face and an reference (the output will include the MAFS ordered by reference)
     """
     runWorkflow_multipleExamples(getCactusInputs_random, 
                                  testNumber=TestStatus.getTestSetup(), 
                                  makeMAFs=True)
开发者ID:benedictpaten,项目名称:cactusTools,代码行数:8,代码来源:cactus_MAFGeneratorTest.py

示例9: testCactusRecursiveHalGenerator_Random

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def testCactusRecursiveHalGenerator_Random(self):
     runWorkflow_multipleExamples(getCactusInputs_random,
                                  testNumber=TestStatus.getTestSetup(),
                                  buildReference=True, buildHal=True, buildFasta=True)
开发者ID:benedictpaten,项目名称:cactus,代码行数:6,代码来源:cactus_halTest.py

示例10: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     self.testNo = TestStatus.getTestSetup()
     unittest.TestCase.setUp(self)
     self.tempDir = getTempDirectory(os.getcwd())
     self.tempFiles = []
开发者ID:adderan,项目名称:sonLib,代码行数:7,代码来源:bioioTest.py

示例11: testCactus_Random

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def testCactus_Random(self):
     runWorkflow_multipleExamples(getCactusInputs_random, 
                                  testNumber=TestStatus.getTestSetup(), 
                                  buildAvgs=True)
开发者ID:benedictpaten,项目名称:cactus,代码行数:6,代码来源:cactus_fillAdjacenciesTest.py

示例12: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     self.testNo = TestStatus.getTestSetup()
     unittest.TestCase.setUp(self)
     self.trees = randomTreeSet()
开发者ID:ptdtan,项目名称:sonLib,代码行数:6,代码来源:nxtreeTest.py

示例13: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     self.testNo = TestStatus.getTestSetup(3, 10, 0, 0)
     self.batchSystem = "parasol"
     unittest.TestCase.setUp(self)
开发者ID:benedictpaten,项目名称:cactus,代码行数:6,代码来源:cactus_barTest.py

示例14: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 2, 10, 10)
     self.tempDir = getTempDirectory(os.getcwd())
     self.jobTreeDir = os.path.join(self.tempDir, "jobTree") #A directory for the job tree to be created in
开发者ID:decarlin,项目名称:jobTree,代码行数:7,代码来源:scriptTreeTest.py

示例15: setUp

# 需要导入模块: from sonLib.bioio import TestStatus [as 别名]
# 或者: from sonLib.bioio.TestStatus import getTestSetup [as 别名]
 def setUp(self):
     self.testNo = TestStatus.getTestSetup()
     self.tempFiles = []
     unittest.TestCase.setUp(self)
开发者ID:glennhickey,项目名称:contigSim,代码行数:6,代码来源:eventQueueTests.py


注:本文中的sonLib.bioio.TestStatus.getTestSetup方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。