diff --git a/imio/load.py b/imio/load.py index d54d796..c5edf68 100644 --- a/imio/load.py +++ b/imio/load.py @@ -7,7 +7,10 @@ import nrrd import numpy as np import tifffile -from imlib.general.system import get_num_processes, get_sorted_file_paths +from brainglobe_utils.general.system import ( + get_num_processes, + get_sorted_file_paths, +) from natsort import natsorted from skimage import transform from tqdm import tqdm diff --git a/imio/utils.py b/imio/utils.py index 960b196..e6d87d2 100644 --- a/imio/utils.py +++ b/imio/utils.py @@ -1,7 +1,7 @@ import logging import psutil -from imlib.general.system import get_sorted_file_paths +from brainglobe_utils.general.system import get_sorted_file_paths from scipy.ndimage import zoom import imio diff --git a/pyproject.toml b/pyproject.toml index deffb70..c400c3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ ] requires-python = ">=3.8" dependencies = [ - "imlib", + "brainglobe-utils[slurmio]", "natsort", "nibabel", "nibabel >= 2.1.0", @@ -26,7 +26,6 @@ dependencies = [ "psutil", "pynrrd", "scikit-image", - "slurmio >= 0.0.5", "tifffile", "tqdm", ]