예제 #1
0
 def setUp(self):
     self.wd = os.path.join(working_dir, 'test_reset')
     shutil.copytree(test_folder, self.wd)
     self.paradict = readInPars('')
     self.genedict = readInGenePars('')
     self.reseter = rtools.Reseter(paradict=self.paradict,
                                   genedict=self.genedict,
                                   wd=self.wd)
     self.reseter.verbose = False
예제 #2
0
 def setUp(self):
     self.wd = os.path.join(working_dir, 'test_reset')
     shutil.copytree(test_folder, self.wd)
     self.paradict = readInPars('')
     self.genedict = readInGenePars('')
     self.reseter = rtools.Reseter(paradict=self.paradict,
                                   genedict=self.genedict,
                                   wd=self.wd)
     self.reseter.verbose = False
예제 #3
0
 def test_read_in_pars(self):
     # read in test parameters in /data
     test_file = os.path.join(working_dir, 'data', 'test_parameters.csv')
     res = stools.readInPars(test_file)
     # nseqs should be 'a different value'
     self.assertEqual(res['nseqs'], 'a different value')
예제 #4
0
 def test_read_in_pars(self):
     # read in test parameters in /data
     test_file = os.path.join(working_dir, 'data', 'test_parameters.csv')
     res = stools.readInPars(test_file)
     # nseqs should be 'a different value'
     self.assertEqual(res['nseqs'], 'a different value')