Skip to content

Commit

Permalink
Merge branch 'better-summarized-lingroups' of github.com:sourmash-bio…
Browse files Browse the repository at this point in the history
…/sourmash into better-summarized-lingroups
  • Loading branch information
bluegenes committed Sep 4, 2024
2 parents 2042b92 + 0ddea9f commit 1c99db9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/test_tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ def test_metagenome_two_queries_with_single_query_output_formats_fail(runtmp):
line = line.replace("test1", "test2") + "\n"
fp.write(line)

csv_summary_out = runtmp.output("tst.summarized.csv")
runtmp.output("tst.summarized.csv")
bioboxes_out = runtmp.output("tst.bioboxes.out")
kreport_out = runtmp.output("tst.kreport.txt")

Expand Down Expand Up @@ -2191,8 +2191,13 @@ def test_metagenome_two_queries_skip_single_query_output_formats(runtmp):
in c.last_result.err
)

assert f"saving 'csv_summary' output to '{os.path.basename(csv_summary_out)}'" in runtmp.last_result.err
sum_gather_results = [x.rstrip() for x in Path(csv_summary_out).read_text().splitlines()]
assert (
f"saving 'csv_summary' output to '{os.path.basename(csv_summary_out)}'"
in runtmp.last_result.err
)
sum_gather_results = [
x.rstrip() for x in Path(csv_summary_out).read_text().splitlines()
]
assert (
"query_name,rank,fraction,lineage,query_md5,query_filename,f_weighted_at_rank,bp_match_at_rank"
in sum_gather_results[0]
Expand All @@ -2208,7 +2213,6 @@ def test_metagenome_two_queries_skip_single_query_output_formats(runtmp):
)



def test_metagenome_two_queries_krona(runtmp):
# for now, we enable multi-query krona. Is this desired?
c = runtmp
Expand Down

0 comments on commit 1c99db9

Please sign in to comment.