def setUp(self): WithTempDir.setUp(self) self.wordlist = Wordlist(test_data('KSL.qlc'))
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
def wordlist2(test_data): return Wordlist(str(test_data / 'KSL4.qlc'))
def setUp(self): WithTempDir.setUp(self) self.wordlist = Wordlist(test_data('KSL.qlc')) self.wordlist2 = Wordlist(test_data('good_file.tsv'))