def test_krona_import_taxonomy(self): out_html = util.file.mkstempfname('.html') metagenomics.krona(self.inTsv, self.db, out_html, queryColumn=3, taxidColumn=5, scoreColumn=7, noHits=True, noRank=True) self.mock_krona().import_taxonomy.assert_called_once_with( self.db, [self.inTsv], out_html, query_column=3, taxid_column=5, score_column=7, no_hits=True, no_rank=True)
def test_krona_import_taxonomy(self): out_html = util.file.mkstempfname('.html') metagenomics.krona(self.inTsv, self.db, out_html, queryColumn=3, taxidColumn=5, scoreColumn=7, noHits=True, noRank=True, inputType='tsv') self.mock_krona().import_taxonomy.assert_called_once_with( self.db, [self.inTsv], out_html, query_column=3, taxid_column=5, score_column=7, no_hits=True, no_rank=True, magnitude_column=None, root_name=os.path.basename(self.inTsv))