Updated module imports

This commit is contained in:
Harrison Deng 2025-01-22 21:36:45 +00:00
parent 6305f5dbc9
commit 9498fe7a45
7 changed files with 13 additions and 9 deletions

View File

@ -7,14 +7,18 @@ name = "autoBIGS.cli"
dynamic = ["version"]
readme = "README.md"
[project.urls]
Repository = "https://github.com/RealYHD/autoBIGS.cli"
Issues = "https://github.com/RealYHD/autoBIGS.cli/issues"
dependencies = [
"autoBIGS-engine"
"autoBIGS.engine"
]
requires-python = ">=3.11"
description = "A CLI tool to rapidly fetch fetch MLST profiles given sequences for various diseases."
[project.scripts]
autoBIGS = "autoBIGS.cli.program:run"
autoBIGS = "autobigs.cli.program:run"
[tool.setuptools_scm]

View File

@ -4,4 +4,4 @@ pytest-cov
build
twine
setuptools_scm
autobigsst.engine
autoBIGS.engine

View File

@ -1,6 +1,6 @@
from argparse import ArgumentParser, Namespace
import asyncio
from autoBIGS.engine.data.remote.databases.bigsdb import BIGSdbIndex
from autobigs.engine.data.remote.databases.bigsdb import BIGSdbIndex
def setup_parser(parser: ArgumentParser):
parser.description = "Fetches the latest BIGSdb MLST database definitions."

View File

@ -3,8 +3,8 @@ from importlib import metadata
from os import path
import os
from autoBIGS.cli import info, st
from autoBIGS.cli.meta import get_module_base_name
from autobigs.cli import info, st
from autobigs.cli.meta import get_module_base_name
import importlib
root_parser = argparse.ArgumentParser(epilog='Use "%(prog)s info -h" to learn how to get available MLST databases, and their available schemas.'

View File

@ -2,9 +2,9 @@
from argparse import ArgumentParser, Namespace
import asyncio
import datetime
from autoBIGS.engine.data.local.csv import write_mlst_profiles_as_csv
from autoBIGS.engine.data.local.fasta import read_multiple_fastas
from autoBIGS.engine.data.remote.databases.bigsdb import BIGSdbIndex
from autobigs.engine.data.local.csv import write_mlst_profiles_as_csv
from autobigs.engine.data.local.fasta import read_multiple_fastas
from autobigs.engine.data.remote.databases.bigsdb import BIGSdbIndex
def setup_parser(parser: ArgumentParser):