Skip to content

Commit 9a37fab

Browse files
authored
Fix lab_ext parameter not used (#1152)
Signed-off-by: Anders Sildnes <[email protected]> Signed-off-by: Anders Sildnes <[email protected]>
1 parent 109b541 commit 9a37fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monailabel/utils/others/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def _list_files(d, ext):
209209
images = _list_files(image_dir, img_ext)
210210

211211
label_dir = os.path.join(folder, label_dir) if label_dir else folder
212-
labels = _list_files(label_dir, img_ext)
212+
labels = _list_files(label_dir, lab_ext)
213213

214214
for i, l in zip(images, labels):
215215
if get_basename_no_ext(i) != get_basename_no_ext(l):

0 commit comments

Comments
 (0)