When trying to close an image an error occurs. According to the error it is not possible to close the image as there is no function close for this image.
Below the code, for privacy reasons I changed the image path to "*.tif"
from multiresolutionimageinterface import MultiResolutionImageReader
if __name__ == '__main__':
mir_reader = MultiResolutionImageReader()
wsi_multi = mir_reader.open('*.tif')
wsi_multi.close()
Error traceback
Traceback (most recent call last):
File "/home/jeroen/Documents/scratch/mart_test/main.py", line 6, in <module>
wsi_multi.close()
AttributeError: 'MultiResolutionImage' object has no attribute 'close'
When trying to close an image an error occurs. According to the error it is not possible to close the image as there is no function close for this image.
Below the code, for privacy reasons I changed the image path to "*.tif"
Error traceback
The error occurs on Ubuntu 20.04 with ASAP taken from https://ci.appveyor.com/project/GeertLitjens/asap and python 3.6.