Copied over most code from another of my projects

This commit is contained in:
2025-01-08 15:14:06 +00:00
commit 02985d5e37
32 changed files with 59455 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import os
from automlst.engine.local.abif import read_abif
async def test_load_sanger_sequence_has_data():
assert os.path.exists("tests/resources/1I1_F_P1815443_047.ab1")
result_data = await read_abif("tests/resources/1I1_F_P1815443_047.ab1")
assert result_data is not None

View File

@@ -0,0 +1,7 @@
from automlst.engine.local.fasta import read_fasta
async def test_fasta_reader_not_none():
named_strings = read_fasta("tests/resources/tohama_I_bpertussis.fasta")
async for named_string in named_strings:
assert named_string.name == "BX470248.1"