Skip to content

Commit

Permalink
src/js: remove Private field from JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Lahaxe committed Aug 28, 2015
1 parent cd0530a commit 0a3c2b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/js/dicom2nifti/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ _module.mergeStack = function(datasets, dictionaryTagToName) {
continue;
}

// ignore unknown keys
if (dictionaryTagToName[key] === undefined) {
continue;
}

if (finalDataset[dictionaryTagToName[key]] === undefined) {
finalDataset[dictionaryTagToName[key]] = [];
}
Expand Down

0 comments on commit 0a3c2b9

Please sign in to comment.