Skip to content

Commit

Permalink
precedence for 0020,0100 over 2005,1063 (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Dec 15, 2021
1 parent e16904e commit 06951ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions console/nii_dicom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6185,6 +6185,7 @@ const uint32_t kEffectiveTE = 0x0018 + (0x9082 << 16);
case kMRfMRIStatusIndicationPhilips: {//fmri volume number
if (d.manufacturer != kMANUFACTURER_PHILIPS)
break;
if (volumeNumber > 0) break; //issue567
int i = dcmInt(lLength, &buffer[lPos], d.isLittleEndian);
if (i > 0) //only if positive value, see Magdeburg_2014 sample data from dcm_qa_philips Philips MR 51.0
volumeNumber = i;
Expand Down
2 changes: 1 addition & 1 deletion console/nii_dicom.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extern "C" {
#define kCPUsuf " " //unknown CPU
#endif

#define kDCMdate "v1.0.20211006"
#define kDCMdate "v1.0.20211215"
#define kDCMvers kDCMdate " " kJP2suf kLSsuf kCCsuf kCPUsuf

static const int kMaxEPI3D = 1024; //maximum number of EPI images in Siemens Mosaic
Expand Down

0 comments on commit 06951ec

Please sign in to comment.