Bayer-Group / paquo

PAthological QUpath Obsession - QuPath and Python conversations
GNU General Public License v3.0
104 stars 16 forks source link

Cannot save annotations to images on a smb network share #43

Closed ap-- closed 4 years ago

ap-- commented 4 years ago
file:////share/directory/someimage.svs

returns False for QuPathProjectImageEntry.is_readable()

ap-- commented 4 years ago

The above commit fixed it. And confirmed that it's working on windows! Thanks again @vankhoa21991 😃

INFO:paquo.images:Changes saved for 'XX 123.svs'
DEBUG:QUPATH:qupath.lib.projects.DefaultProject: Saving image data to C:\XXX\data\1\data.qpdata
INFO:QUPATH:qupath.lib.io.PathIO: Writing object hierarchy with 369 object(s)...
INFO:QUPATH:qupath.lib.io.PathIO: Image data written in 0.24 seconds
DEBUG:QUPATH:q.l.i.s.o.OpenslideImageServer: Test reading thumbnail with openslide: passed (BufferedImage@6b063470: type = 1 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 3735 height = 2148 #Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0)
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: en_US
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Brightfield (H&E)
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Color deconvolution stains: Hematoxylin: 0.651 0.701 0.29 , Eosin: 0.216 0.801 0.558 , Residual: 0.316 -0.598 0.737
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: qupath.lib.plugins.workflow.Workflow@226d5af0
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Hierarchy: 186 objects
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: {}
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: EOF
DEBUG:QUPATH:qupath.lib.io.PathIO: Hierarchy with 186 object(s) read in 0.03 seconds
INFO:paquo.images:Saving skipped for 'XX 124.svs': no changes
DEBUG:QUPATH:q.l.i.s.o.OpenslideImageServer: Test reading thumbnail with openslide: passed (BufferedImage@27a90ce5: type = 1 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 3735 height = 2437 #Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0)
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: en_US
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Brightfield (H&E)
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Color deconvolution stains: Hematoxylin: 0.651 0.701 0.29 , Eosin: 0.216 0.801 0.558 , Residual: 0.316 -0.598 0.737
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: qupath.lib.plugins.workflow.Workflow@77f4038c
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Hierarchy: 176 objects
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: {}
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: EOF
DEBUG:QUPATH:qupath.lib.io.PathIO: Hierarchy with 176 object(s) read in 0.04 seconds
INFO:paquo.images:Saving skipped for 'XX 125.svs': no changes
DEBUG:QUPATH:q.l.i.s.o.OpenslideImageServer: Test reading thumbnail with openslide: passed (BufferedImage@53cba89f: type = 1 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 2490 height = 1203 #Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0)
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: en_US
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Brightfield (H&E)
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Color deconvolution stains: Hematoxylin: 0.651 0.701 0.29 , Eosin: 0.216 0.801 0.558 , Residual: 0.316 -0.598 0.737
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: qupath.lib.plugins.workflow.Workflow@66ad7167
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: Hierarchy: 421 objects
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: {}
DEBUG:QUPATH:qupath.lib.io.PathIO: Read: EOF
DEBUG:QUPATH:qupath.lib.io.PathIO: Hierarchy with 421 object(s) read in 0.05 seconds
INFO:paquo.images:Saving skipped for 'XX 126.svs': no changes