Skip to content

Commit

Permalink
fix: now print spacing when complaining about spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Jan 25, 2024
1 parent 227d68e commit 891483a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnunetv2/experiment_planning/verify_dataset_integrity.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def check_cases(image_files: List[str], label_file: str, expected_num_channels:
if not np.allclose(spacing_seg, spacing_images):
print('Error: Spacing mismatch between segmentation and corresponding images. \nSpacing images: %s. '
'\nSpacing seg: %s. \nImage files: %s. \nSeg file: %s\n' %
(shape_image, shape_seg, image_files, label_file))
(spacing_images, spacing_seg, image_files, label_file))
ret = False

# check modalities
Expand Down

0 comments on commit 891483a

Please sign in to comment.