Skip to content

Commit

Permalink
precommit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Sep 20, 2023
1 parent 0a34c72 commit adfc179
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions brainglobe_workflows/cellfinder/cellfinder_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

class Workflow:
"""
Defines the cellfinder workflow built around running the
Defines the cellfinder workflow built around running the
cellfinder_core.main.main() function.
It includes `setup` methods that encapsulate steps which are required
to run the workflow, but that we don't expect to benchmark
It includes `setup` methods that encapsulate steps which are required
to run the workflow, but that we don't expect to benchmark
(such as defining processing parameters or downloading the test data).
"""

Expand Down Expand Up @@ -107,6 +107,7 @@ def setup_input_data(self):
if f.startswith(self.background_parent_dir)
]


def workflow_from_cellfinder_run(cfg):
"""
Run workflow based on the cellfinder_core.main.main()
Expand Down Expand Up @@ -135,9 +136,7 @@ def workflow_from_cellfinder_run(cfg):

# Run main analysis using `cellfinder_run`
detected_cells = cellfinder_run(
signal_array,
background_array,
cfg.voxel_sizes
signal_array, background_array, cfg.voxel_sizes
)

# Save results to xml file
Expand Down

0 comments on commit adfc179

Please sign in to comment.