Renaming project to NSBDiagnosisToolkit

This commit is contained in:
2025-01-03 19:56:55 +00:00
parent 6ff0dca3ae
commit 2cd56ca1ec
23 changed files with 29 additions and 29 deletions

View File

@@ -0,0 +1,8 @@
import os
from nsbdiagnosistoolkit.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 nsbdiagnosistoolkit.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"