spacetx / starfish

starfish: unified pipelines for image-based transcriptomics
https://spacetx-starfish.readthedocs.io/en/latest/
MIT License
223 stars 67 forks source link

error importing scikit's 'match_histograms' #1932

Closed juliomateoslangerak closed 3 years ago

juliomateoslangerak commented 3 years ago

Description

importing starfish.data fails with AttributeError: module 'skimage.transform' has no attribute 'match_histograms'

Steps/Code to Reproduce

from starfish import data

Expected Results

Might be that the error is in line 4 of copat.py

if version.parse(skimage.__version__) > version.parse("0.14.2"):

where the sense of the comparison is inverted. 'match_histograms' is not present in most recent versions of skimage

ttung commented 3 years ago

This was in skimage.transform between 0.14.2. It was moved to skimage.exposure with 0.16.0.

ttung commented 3 years ago

https://scikit-image.org/docs/0.16.x/release_notes_and_installation.html#deprecations