Refactoring package name

This commit is contained in:
2025-01-22 18:43:21 +00:00
parent ba72199efc
commit 47c8951916
8 changed files with 25 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
from argparse import ArgumentParser, Namespace
import asyncio
from automlst.engine.data.remote.databases.bigsdb import BIGSdbIndex
from autoBIGSst.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 automlst.cli import info, st
from automlst.cli.meta import get_module_base_name
from autoBIGSst.cli import info, st
from autoBIGSst.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.'
@@ -20,17 +20,17 @@ root_parser.add_argument(
action="store_true",
default=False,
required=False,
help="Displays the autoMLST.CLI version, and the autoMLST.Engine version."
help="Displays the autoBIGSst.CLI version, and the autoBIGSst.Engine version."
)
def run():
args = root_parser.parse_args()
if args.version:
print(f'autoMLST.CLI is running version {
metadata.version("automlst-cli")}.')
print(f'autoMLST.Engine is running version {
metadata.version("automlst-engine")}.')
print(f'autoBIGSst.CLI is running version {
metadata.version("autoBIGSst-cli")}.')
print(f'autoBIGSst.Engine is running version {
metadata.version("autoBIGSst-engine")}.')
if hasattr(args, "run"):
args.run(args)

View File

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