Skip to content

Commit

Permalink
import default input json
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Oct 13, 2023
1 parent 774d8cc commit 5b46de9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions benchmarks/cellfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from cellfinder_core.tools.IO import read_with_dask

from brainglobe_workflows.cellfinder.cellfinder_main import (
DEFAULT_JSON_CONFIG_PATH,
CellfinderConfig,
run_workflow_from_cellfinder_run,
)
Expand Down Expand Up @@ -78,10 +79,7 @@ class TimeBenchmarkPrepGIN:
min_run_count = 2 # default:2

# Custom attributes
input_config_path = str(
Path(__file__).parents[1]
/ "brainglobe_workflows/cellfinder/default_config.json"
)
input_config_path = str(DEFAULT_JSON_CONFIG_PATH)

def setup_cache(
self,
Expand Down Expand Up @@ -123,7 +121,6 @@ def setup_cache(
assert Path(config.signal_dir_path).exists()
assert Path(config.background_dir_path).exists()

# @classmethod
def setup(self):
"""
Run the cellfinder workflow setup steps.
Expand Down

0 comments on commit 5b46de9

Please sign in to comment.