Skip to content

Commit 67e2ce5

Browse files
authored
fix bug that mrxs file may cause (vqdang#265)
Thank you. However as you may have realized, we no longer maintain this repository.
1 parent 326f17e commit 67e2ce5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infer/wsi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,8 @@ def process_wsi_list(self, run_args):
732732
wsi_path_list = glob.glob(self.input_dir + "/*")
733733
wsi_path_list.sort() # ensure ordering
734734
for wsi_path in wsi_path_list[:]:
735+
if os.path.isdir(wsi_path):
736+
continue
735737
wsi_base_name = pathlib.Path(wsi_path).stem
736738
msk_path = "%s/%s.png" % (self.input_mask_dir, wsi_base_name)
737739
if self.save_thumb or self.save_mask:

0 commit comments

Comments
 (0)