diff --git a/pyproject.toml b/pyproject.toml index 7d357c1..0a09d92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] diff --git a/src/automlst/cli/root.py b/src/automlst/cli/root.py index a1f9e69..0de7827 100644 --- a/src/automlst/cli/root.py +++ b/src/automlst/cli/root.py @@ -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() \ No newline at end of file + run() \ No newline at end of file