Esempio n. 1
0
 def setUp(self):
     WithTempDir.setUp(self)
     self.wordlist = Wordlist(test_data('KSL.qlc'))
Esempio n. 2
0
def test_renumber(test_data):
    tmp = Wordlist(str(test_data / 'good_file.tsv'))
    tmp.renumber('cogid', 'newcogid')
    assert 'newcogid' in tmp.header
    tmp.renumber('mock')
    assert 'mockid' in tmp.header
Esempio n. 3
0
def wordlist2(test_data):
    return Wordlist(str(test_data / 'KSL4.qlc'))
Esempio n. 4
0
 def setUp(self):
     WithTempDir.setUp(self)
     self.wordlist = Wordlist(test_data('KSL.qlc'))
     self.wordlist2 = Wordlist(test_data('good_file.tsv'))