Skip to content

Commit

Permalink
Test for existance of VIM genes
Browse files Browse the repository at this point in the history
  • Loading branch information
samuell committed Aug 2, 2024
1 parent 0ed16de commit db83aeb
Show file tree
Hide file tree
Showing 2 changed files with 322 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,11 @@ def test_blast_scraping(scraper, testdata_prefix, caplog):
genes = [h["gene"] for h in hits]
assert "blaOXA-48" in genes

has_vim = False
for gene in genes:
if "VIM" in gene:
has_vim = True
assert has_vim

def test_alignment_scraping(scraper, init_references, testdata_prefix):
scraper.scrape_alignment(file_list=glob.glob("{}/*.stats.*".format(testdata_prefix)))
Loading

0 comments on commit db83aeb

Please sign in to comment.