Skip to content

Commit 0cc700a

Browse files
authored
This was not supposed to go to the pull request..
*bangs head in wall*
1 parent ee00242 commit 0cc700a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

heudiconv/dicoms.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ def group_dicoms_into_seqinfos(files, file_filter, dcmfilter, grouping):
9999
# verify that we are working with a single study
100100
if studyUID is None:
101101
studyUID = file_studyUID
102-
# elif not per_accession_number:
103-
# assert studyUID == file_studyUID, (
104-
# "Conflicting study identifiers found [{}, {}].".format(
105-
# studyUID, file_studyUID
106-
# ))
102+
elif not per_accession_number:
103+
assert studyUID == file_studyUID, (
104+
"Conflicting study identifiers found [{}, {}].".format(
105+
studyUID, file_studyUID
106+
))
107107
except AttributeError as exc:
108108
lgr.warning('Ignoring %s since not quite a "normal" DICOM: %s',
109109
filename, exc)

0 commit comments

Comments
 (0)