Closed zero19970 closed 10 months ago
File /cache/lch/anaconda3/lib/python3.8/site-packages/sdpc/Sdpc.py:29, in Sdpc.init(self, sdpcPath) 27 def init(self, sdpcPath): 28 print(sdpcPath) ---> 29 self.sdpc = self.readSdpc(sdpcPath) 30 self.level_count = self.getLevelCount() 31 self.level_downsample = self.getLevelDownsamples()
File /cache/lch/anaconda3/lib/python3.8/site-packages/sdpc/Sdpc.py:42, in Sdpc.readSdpc(self, fileName) 39 def readSdpc(self, fileName): 41 sdpc = so.SqOpenSdpc(c_char_p(bytes(fileName, 'gbk'))) ---> 42 sdpc.contents.fileName = bytes(fileName, 'gbk') 44 return sdpc
ValueError: NULL pointer access
Are you sure the WSI format you input is in sdpc?
Yes
File /cache/lch/anaconda3/lib/python3.8/site-packages/sdpc/Sdpc.py:29, in Sdpc.init(self, sdpcPath) 27 def init(self, sdpcPath): 28 print(sdpcPath) ---> 29 self.sdpc = self.readSdpc(sdpcPath) 30 self.level_count = self.getLevelCount() 31 self.level_downsample = self.getLevelDownsamples()
File /cache/lch/anaconda3/lib/python3.8/site-packages/sdpc/Sdpc.py:42, in Sdpc.readSdpc(self, fileName) 39 def readSdpc(self, fileName): 41 sdpc = so.SqOpenSdpc(c_char_p(bytes(fileName, 'gbk'))) ---> 42 sdpc.contents.fileName = bytes(fileName, 'gbk') 44 return sdpc
ValueError: NULL pointer access