Skip to content

Commit

Permalink
temporary _meta fill in
Browse files Browse the repository at this point in the history
  • Loading branch information
emelalkim committed Jul 17, 2023
1 parent bc14414 commit 0d9eaee
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions build/dcmjs.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -18071,18 +18071,18 @@ function _createSegFromJSONObjects(jsonObjects, isMultiframe, options) {

if (isMultiframe) {
var jsonObject = jsonObjects[0];
var dataset = DicomMetaDictionary.naturalizeDataset(jsonObject); // not sure about this yet
// dataset._meta = DicomMetaDictionary.namifyDataset(dicomData.meta);
var dataset = DicomMetaDictionary.naturalizeDataset(jsonObject); // not sure about this yet. Seems like it should be just the file meta tags

dataset._meta = DicomMetaDictionary.namifyDataset(dataset);
datasets.push(dataset);
} else {
for (var i = 0; i < jsonObjects.length; i++) {
var _jsonObject = jsonObjects[i];

var _dataset = DicomMetaDictionary.naturalizeDataset(_jsonObject); // not sure about this yet
// _dataset._meta = DicomMetaDictionary.namifyDataset(_dicomData.meta);
var _dataset = DicomMetaDictionary.naturalizeDataset(_jsonObject); // not sure about this yet. Seems like it should be just the file meta tags


_dataset._meta = DicomMetaDictionary.namifyDataset(_dataset);
datasets.push(_dataset);
}
}
Expand Down
2 changes: 1 addition & 1 deletion build/dcmjs.es.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions build/dcmjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -18077,18 +18077,18 @@ b"+i+"*=d\

if (isMultiframe) {
var jsonObject = jsonObjects[0];
var dataset = DicomMetaDictionary.naturalizeDataset(jsonObject); // not sure about this yet
// dataset._meta = DicomMetaDictionary.namifyDataset(dicomData.meta);
var dataset = DicomMetaDictionary.naturalizeDataset(jsonObject); // not sure about this yet. Seems like it should be just the file meta tags

dataset._meta = DicomMetaDictionary.namifyDataset(dataset);
datasets.push(dataset);
} else {
for (var i = 0; i < jsonObjects.length; i++) {
var _jsonObject = jsonObjects[i];

var _dataset = DicomMetaDictionary.naturalizeDataset(_jsonObject); // not sure about this yet
// _dataset._meta = DicomMetaDictionary.namifyDataset(_dicomData.meta);
var _dataset = DicomMetaDictionary.naturalizeDataset(_jsonObject); // not sure about this yet. Seems like it should be just the file meta tags


_dataset._meta = DicomMetaDictionary.namifyDataset(_dataset);
datasets.push(_dataset);
}
}
Expand Down
2 changes: 1 addition & 1 deletion build/dcmjs.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/adapters/Cornerstone/Segmentation_4X.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,15 @@ function _createSegFromJSONObjects(jsonObjects, isMultiframe, options) {
if (isMultiframe) {
var jsonObject = jsonObjects[0];
const dataset = DicomMetaDictionary.naturalizeDataset(jsonObject);
// not sure about this yet
// dataset._meta = DicomMetaDictionary.namifyDataset(dicomData.meta);
// not sure about this yet. Seems like it should be just the file meta tags
dataset._meta = DicomMetaDictionary.namifyDataset(dataset);
datasets.push(dataset);
} else {
for (var i = 0; i < jsonObjects.length; i++) {
var _jsonObject = jsonObjects[i];
const _dataset = DicomMetaDictionary.naturalizeDataset(_jsonObject);
// not sure about this yet
// _dataset._meta = DicomMetaDictionary.namifyDataset(_dicomData.meta);
// not sure about this yet. Seems like it should be just the file meta tags
_dataset._meta = DicomMetaDictionary.namifyDataset(_dataset);
datasets.push(_dataset);
}
}
Expand Down

0 comments on commit 0d9eaee

Please sign in to comment.