Skip to content

Commit

Permalink
Update FileMetaInformationGroupLength tag name. Fixes #141.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Apr 13, 2015
1 parent 53b6b53 commit a3ec208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dicom/dicomParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/dicom/dictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit a3ec208

Please sign in to comment.