opera-adt / COMPASS

COregistered Multi-temPorAl Sar Slc
Apache License 2.0
38 stars 17 forks source link

[Bug]: scikit-image module missing when installing from conda-forge #203

Closed taliboliver closed 6 months ago

taliboliver commented 10 months ago

Checked for duplicates

Yes - I've already checked

Describe the bug

Hi! I installed the latest version of compass from conda-forge and noticed that the scikit-image module is missing from the requirements. I thought to let you know. This is the error I get:

from compass.utils.lut import cumulative_correction_luts File "/home/cabrera/python/miniconda3/envs/sweets-env/lib/python3.11/site-packages/compass/utils/lut.py", line 10, in <module> from skimage.transform import resize ModuleNotFoundError: No module named 'skimage'

What did you expect?

scikit-image module in the requirements

Reproducible steps

conda env create --file environment.yml
conda activate environment
python -m pip install -e .

Environment

- Version of this software [e.g. vX.Y.Z]
- Operating System: [e.g. MacOSX with Docker Desktop vX.Y]
...
scottstanie commented 10 months ago

We can fix this on conda without needing a new release. I'm bumping the build number on conda-forge here https://github.com/conda-forge/compass-feedstock/pull/3 , so we can separately fix the environment file here