Skip to content

Commit

Permalink
WIP update test results generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
jlumpe committed Dec 1, 2024
1 parent 399057b commit 881c87c
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 805 deletions.
2 changes: 1 addition & 1 deletion tests/data/testdb_210818/generate-results.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def check_results(queries: list[TestQueryGenome], query_files: list[SequenceFile
clsresult = item.classifier_result
predicted = clsresult.predicted_taxon

assert item.input.file == query_file
assert item.file == query_file.path

# Check if warnings expected (only if in strict mode)
assert bool(clsresult.warnings) == (strict and query['warnings'])
Expand Down
Loading

0 comments on commit 881c87c

Please sign in to comment.