ScanImageTiffReader fails on cluster
The following line runs without problems and with reasonable speed locally on my machine with in a jupyter notebook (MacOS, python 3.9.6):
vol = ScanImageTiffReader(sep.join([dataDir, rawtiff])).data()
However, I get the following error when trying to run this in a notebook on the cluster of our institute: `--------------------------------------------------------------------------- Exception Traceback (most recent call last) in
~/miniconda3/envs/fly2p/lib/python3.8/site-packages/ScanImageTiffReader/init.py in data(self, beg, end) 307 308 if self.__ctx.log: --> 309 raise Exception(self.__ctx.log.decode("utf-8","strict")) 310 return a 311
Exception: Resource temporarily unavailable`
This is appears to not be a problem with the data being actually inaccessible, as I can read the same data just fine using
from skimage.io import imread
result = imread(sep.join([dataDir, rawTiff]))
Any ideas on what might be going wrong? I'd prefer using ScanImageTiffReader because I use the extracted metadata to parse the data.