Closed juliomateoslangerak closed 3 years ago
importing starfish.data fails with AttributeError: module 'skimage.transform' has no attribute 'match_histograms'
from starfish import data
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
This was in skimage.transform between 0.14.2. It was moved to skimage.exposure with 0.16.0.
skimage.transform
skimage.exposure
https://scikit-image.org/docs/0.16.x/release_notes_and_installation.html#deprecations
Description
importing starfish.data fails with AttributeError: module 'skimage.transform' has no attribute 'match_histograms'
Steps/Code to Reproduce
Expected Results
Might be that the error is in line 4 of copat.py
where the sense of the comparison is inverted. 'match_histograms' is not present in most recent versions of skimage