We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081ba3a commit 468b19fCopy full SHA for 468b19f
multic/segmentationschool/Codes/wsi_loader_utils.py
@@ -89,7 +89,7 @@ def __init__(self,args, wsi_directory=None, transform=None):
89
90
usable_slides=[]
91
for slide_loc in all_slides:
92
- slideID,slideExt=os.path.splitext(slide_loc.split('/')[-1])
+ slideID,slideExt=os.path.splitext(slide_loc.split(os.sep)[-1])
93
print("working slide... "+ slideID,end='\r')
94
95
slide=openslide.OpenSlide(slide_loc)
0 commit comments