Skip to content

Commit

Permalink
fix #2144
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed May 8, 2024
1 parent 7907981 commit e539637
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nnunetv2/experiment_planning/verify_dataset_integrity.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ def verify_dataset_integrity(folder: str, num_processes: int = 8) -> None:
with multiprocessing.get_context("spawn").Pool(num_processes) as p:
result = p.starmap(
verify_labels,
zip([join(folder, 'labelsTr', i) for i in labelfiles], [reader_writer_class] * len(labelfiles),
[expected_labels] * len(labelfiles))
zip(labelfiles, [reader_writer_class] * len(labelfiles), [expected_labels] * len(labelfiles))
)
if not all(result):
raise RuntimeError(
Expand Down

0 comments on commit e539637

Please sign in to comment.