Beispiel #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
Beispiel #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
Beispiel #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')
Beispiel #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')