Skip to content

Commit

Permalink
Update use of brainglobe-utils image IO (#108)
Browse files Browse the repository at this point in the history
Co-authored-by: alessandrofelder <alessandrofelder@users.noreply.github.com>
  • Loading branch information
adamltyson and alessandrofelder committed May 16, 2024
1 parent 31b0594 commit 2c3ebc4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/benchmarks/cellfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from pathlib import Path

from brainglobe_utils.IO.cells import save_cells
from brainglobe_utils.IO.image.load import read_with_dask
from cellfinder.core.main import main as cellfinder_run
from cellfinder.core.tools.IO import read_with_dask
from cellfinder.core.tools.prep import prep_models

from brainglobe_workflows.cellfinder.cellfinder import (
Expand Down
2 changes: 1 addition & 1 deletion brainglobe_workflows/brainmapper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from brainglobe_utils.general.system import ensure_directory_exists
from brainglobe_utils.image.heatmap import heatmap_from_points
from brainglobe_utils.IO.cells import get_cells, save_cells
from brainglobe_utils.IO.image.load import read_z_stack
from cellfinder.core.main import suppress_tf_logging, tf_suppress_log_messages

BRAINREG_PRE_PROCESSING_ARGS = None
Expand Down Expand Up @@ -105,7 +106,6 @@ def run_all(args, what_to_run, atlas):
from cellfinder.core.classify import classify
from cellfinder.core.detect import detect
from cellfinder.core.tools import prep
from cellfinder.core.tools.IO import read_z_stack

from brainglobe_workflows.brainmapper import analyse
from brainglobe_workflows.brainmapper.prep import (
Expand Down
2 changes: 1 addition & 1 deletion brainglobe_workflows/cellfinder/cellfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

import pooch
from brainglobe_utils.IO.cells import save_cells
from brainglobe_utils.IO.image.load import read_with_dask
from cellfinder.core.main import main as cellfinder_run
from cellfinder.core.tools.IO import read_with_dask
from cellfinder.core.train.train_yml import depth_type

from brainglobe_workflows.utils import (
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
"configobj",
"fancylog>=0.0.7",
"imio",
"brainglobe-utils>=0.2.5",
"brainglobe-utils>=0.5.0",
"multiprocessing-logging>=0.3.4",
"natsort",
"numpy",
Expand Down

0 comments on commit 2c3ebc4

Please sign in to comment.