From b701d094bf10d519686a84738713408302c51858 Mon Sep 17 00:00:00 2001 From: an-altosian Date: Sat, 21 Feb 2026 20:11:50 +0000 Subject: [PATCH] Add scikit-image as a required dependency for doublet detection `scanpy.pp.scrublet()` requires `scikit-image` for automatic threshold calculation when `--remove_doublets` is used. Without it, the call fails: ValueError: threshold is None and thus scrublet requires skimage, but skimage is not installed. The lower bound of >=0.24 ensures compatibility with numpy>=2.x (required by qcatch). Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 5c621fe..2b9d5e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ dependencies = [ "plotly>=6", "requests>=2.32.4", "scanpy>=1.10.4,<2", + "scikit-image>=0.24", "scipy>=1.15.2,<2", "session-info2>=0.1,<0.2", ]