Refactored CLI naming
This commit is contained in:
parent
d580402523
commit
424beeb559
@ -13,8 +13,7 @@ requires-python = ">=3.11"
|
|||||||
description = "A tool to rapidly fetch fetch MLST profiles given sequences for various diseases."
|
description = "A tool to rapidly fetch fetch MLST profiles given sequences for various diseases."
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
automlst = "automlst.cli.root:cli"
|
automlst = "automlst.cli.root:run"
|
||||||
nsbdiagtk = "automlst.cli.root:cli"
|
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
extraPaths = ["src"]
|
extraPaths = ["src"]
|
||||||
|
@ -71,7 +71,7 @@ parser.add_argument(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def cli():
|
def run():
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
gen_strings = aggregated.aggregate_sequences(args.fastas, args.abifs)
|
gen_strings = aggregated.aggregate_sequences(args.fastas, args.abifs)
|
||||||
os.makedirs(args.out, exist_ok=True)
|
os.makedirs(args.out, exist_ok=True)
|
||||||
@ -83,4 +83,4 @@ def cli():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
cli()
|
run()
|
Loading…
x
Reference in New Issue
Block a user