Completed untested annotation function

This commit is contained in:
2025-01-02 21:53:55 +00:00
parent aa2d494bee
commit 28733337d2
2 changed files with 13 additions and 5 deletions

View File

@@ -8,4 +8,5 @@ async def test_fetch_ncbi_genbank_with_id_works():
async def test_annotate_from_genbank_results_in_annotations():
sequence = SeqIO.read("tests/resources/tohama_I_bpertussis.fasta", "fasta").seq
assert (await annotate_from_genbank("CP011448.1", str(sequence))) is AnnotatedString
annotated_sequence = await annotate_from_genbank("CP011448.1", "bpertussis_tohamaI", str(sequence))
assert annotated_sequence is AnnotatedString