Closed talonchandler closed 1 year ago
This is a somewhat frequent issue on HPC with OpenCV Qt components. A work around is to use specific Qt and OpenCV versions. However in our case cv2
is only used once to encode byte streams (and the function name ('JPG') is confusingly inconsistent with the actual code ('PNG')):
And this should be easily swapped out with PIL or similar so that we can stop depending on OpenCV.
Edit: we already depend on pillow
(PIL fork) through matplotlib
.
In an OnDemand session with
waveorder
installed (in the sharedrecOrder
environment or the currentmain
branch):will open a
napari
window as expected. If instead you trynapari
does not open and you'll receive a message:Changing the order of imports is workable for scripts, but not always convenient. This issue also might be causing issues in
recOrder
see: https://github.com/mehta-lab/recOrder/issues/109