Skip to content

Commit

Permalink
Limit scope of VE* fldyn3d1 kludge
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Mar 13, 2023
1 parent a38d7c1 commit 1a576ef
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions console/nii_dicom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7785,13 +7785,14 @@ const uint32_t kEffectiveTE = 0x0018 + uint32_t(0x9082 << 16);
//if ((d.manufacturer == kMANUFACTURER_SIEMENS) && (strcmp(d.sequenceName, "fldyn3d1")== 0)) {
if ((d.manufacturer == kMANUFACTURER_SIEMENS) && (strstr(d.sequenceName, "fldyn3d1") != NULL)) {
//combine DCE series https://github.com/rordenlab/dcm2niix/issues/252
d.isStackableSeries = true;
if (d.isXA10A) //issue689
d.imageNum += (d.acquNum * 1000);
else
else {
d.isStackableSeries = true;
d.imageNum += (d.seriesNum * 1000);
strcpy(d.seriesInstanceUID, d.studyInstanceUID);
d.seriesUidCrc = mz_crc32X((unsigned char *)&d.protocolName, strlen(d.protocolName));
strcpy(d.seriesInstanceUID, d.studyInstanceUID);
d.seriesUidCrc = mz_crc32X((unsigned char *)&d.protocolName, strlen(d.protocolName));
}
}
//TODO533: alias Philips ASL PLD as frameDuration? isKludgeIssue533
//if ((d.manufacturer == kMANUFACTURER_PHILIPS) && ((!isTriggerSynced) || (!isProspectiveSynced)) ) //issue408
Expand Down

0 comments on commit 1a576ef

Please sign in to comment.