Refactored CLI naming

This commit is contained in:
Harrison Deng 2025-01-08 16:55:55 +00:00
parent d580402523
commit 424beeb559
2 changed files with 3 additions and 4 deletions

View File

@ -13,8 +13,7 @@ requires-python = ">=3.11"
description = "A tool to rapidly fetch fetch MLST profiles given sequences for various diseases."
[project.scripts]
automlst = "automlst.cli.root:cli"
nsbdiagtk = "automlst.cli.root:cli"
automlst = "automlst.cli.root:run"
[tool.pyright]
extraPaths = ["src"]

View File

@ -71,7 +71,7 @@ parser.add_argument(
)
def cli():
def run():
args = parser.parse_args()
gen_strings = aggregated.aggregate_sequences(args.fastas, args.abifs)
os.makedirs(args.out, exist_ok=True)
@ -83,4 +83,4 @@ def cli():
if __name__ == "__main__":
cli()
run()