Skip to content

Commit

Permalink
change argument for CLI via main using typer
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Dec 7, 2023
1 parent 91a39b5 commit 8435f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brainglobe_workflows/cellfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8435f32

Please sign in to comment.