From a3ec208fd813c442e2a0eb28a846b170598138f9 Mon Sep 17 00:00:00 2001 From: ivmartel Date: Mon, 13 Apr 2015 23:39:06 +0200 Subject: [PATCH] Update FileMetaInformationGroupLength tag name. Fixes #141. --- src/dicom/dicomParser.js | 2 +- src/dicom/dictionary.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dicom/dicomParser.js b/src/dicom/dicomParser.js index 262b42f006..2266833e05 100755 --- a/src/dicom/dicomParser.js +++ b/src/dicom/dicomParser.js @@ -407,7 +407,7 @@ dwv.dicom.DicomParser.prototype.parse = function(buffer) } offset += 4; - // 0x0002, 0x0000: MetaElementGroupLength + // 0x0002, 0x0000: FileMetaInformationGroupLength var dataElement = this.readDataElement(metaReader, offset); var metaLength = parseInt(dataElement.data[0], 10); offset += dataElement.offset; diff --git a/src/dicom/dictionary.js b/src/dicom/dictionary.js index 52d21161c3..be00b2415b 100755 --- a/src/dicom/dictionary.js +++ b/src/dicom/dictionary.js @@ -66,7 +66,7 @@ dwv.dicom.dictionary = { '0x51B0': ['US', '1-n', 'Overlays'], }, '0x0002': { - '0x0000': ['UL', '1', 'MetaElementGroupLength'], + '0x0000': ['UL', '1', 'FileMetaInformationGroupLength'], '0x0001': ['OB', '1', 'FileMetaInformationVersion'], '0x0002': ['UI', '1', 'MediaStorageSOPClassUID'], '0x0003': ['UI', '1', 'MediaStorageSOPInstanceUID'],