Refactoring project name to autoBIGSst.engine

This commit is contained in:
2025-01-22 18:24:04 +00:00
parent ade2f3b845
commit 53e74af20a
20 changed files with 30 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
from automlst.engine.data.local.csv import dict_loci_alleles_variants_from_loci
from automlst.engine.data.structures.mlst import Allele
from autobigsst.engine.data.local.csv import dict_loci_alleles_variants_from_loci
from autobigsst.engine.data.structures.mlst import Allele
def test_dict_loci_alleles_variants_from_loci_single_loci_not_list():

View File

@@ -1,4 +1,4 @@
from automlst.engine.data.local.fasta import read_fasta
from autobigsst.engine.data.local.fasta import read_fasta
async def test_fasta_reader_not_none():

View File

@@ -3,10 +3,10 @@ import re
from typing import Collection, Sequence, Union
from Bio import SeqIO
import pytest
from automlst.engine.data.structures.genomics import NamedString
from automlst.engine.data.structures.mlst import Allele, MLSTProfile
from automlst.engine.exceptions.database import NoBIGSdbExactMatchesException, NoBIGSdbMatchesException
from automlst.engine.data.remote.databases.bigsdb import BIGSdbIndex, BIGSdbMLSTProfiler
from autobigsst.engine.data.structures.genomics import NamedString
from autobigsst.engine.data.structures.mlst import Allele, MLSTProfile
from autobigsst.engine.exceptions.database import NoBIGSdbExactMatchesException, NoBIGSdbMatchesException
from autobigsst.engine.data.remote.databases.bigsdb import BIGSdbIndex, BIGSdbMLSTProfiler
def gene_scrambler(gene: str, mutation_site_count: Union[int, float], alphabet: Sequence[str] = ["A", "T", "C", "G"]):
rand = random.Random(gene)