Skip to content

Commit 2410498

Browse files
committed
Add comment explaining hotfix
1 parent a68b686 commit 2410498

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dockerfiles/RunCellposeOmnipose/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ FROM pytorch/pytorch:1.13.0-cuda11.6-cudnn8-runtime
33
RUN pip install cellpose==1.0.2
44
RUN pip install omnipose
55

6+
# hotfix for the now-deprecated `peakdetect` package
7+
# latest omnipose on github fixes this by no longer using `peakdetect` library, but not on pypi
68
RUN sed -i 's/from\ scipy\ import\ fft/from\ scipy.fftpack import\ fft/g' /opt/conda/lib/python3.9/site-packages/peakdetect/peakdetect.py

0 commit comments

Comments
 (0)