From 8435f326871d65da20ab2cc9a832dcf795e3d7b0 Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:56:15 +0000 Subject: [PATCH] change argument for CLI via main using typer --- brainglobe_workflows/cellfinder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brainglobe_workflows/cellfinder.py b/brainglobe_workflows/cellfinder.py index 59677f2b..1e6db94b 100644 --- a/brainglobe_workflows/cellfinder.py +++ b/brainglobe_workflows/cellfinder.py @@ -356,9 +356,9 @@ def run_workflow_from_cellfinder_run(cfg: CellfinderConfig): ) -def main(input_config_path=DEFAULT_JSON_CONFIG_PATH_CELLFINDER): +def main(config=DEFAULT_JSON_CONFIG_PATH_CELLFINDER): # run setup - cfg = setup(input_config_path) + cfg = setup(config) # run workflow run_workflow_from_cellfinder_run(cfg) # only this will be benchmarked