From 7c7f8d183639ee9b70c201134a3fcb6836563fb1 Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Mon, 26 Jun 2023 13:52:06 +0100 Subject: [PATCH] Update dependency (imlib -> brainglobe-utils) (#29) --- imio/load.py | 5 ++++- imio/utils.py | 2 +- pyproject.toml | 3 +-- 3 files changed, 6 insertions(+), 4 deletions(-) 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", ]