Skip to content

Commit

Permalink
Completely ignore empty tags (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Mar 28, 2023
1 parent fb32a2d commit 66424af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions console/nii_dicom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5171,6 +5171,7 @@ const uint32_t kEffectiveTE = 0x0018 + uint32_t(0x9082 << 16); //FD
// d.isValid = false;
//return d;
}
if (lLength > 0) //issue694: skip empty tags, "gdcmanon --dumb --empty 0018,0089 good.dcm bad.dcm"
switch (groupElement) {
case kMediaStorageSOPClassUID: {
char mediaUID[kDICOMStr];
Expand Down

0 comments on commit 66424af

Please sign in to comment.