Mercurial > hg > orthanc-wsi
changeset 177:ea62c89b264b
fix due to change in the orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Feb 2020 09:18:45 +0100 |
parents | c38811bf2992 |
children | 62f83d58a81b |
files | Applications/Dicomizer.cpp |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Dicomizer.cpp Tue Feb 04 14:10:19 2020 +0100 +++ b/Applications/Dicomizer.cpp Wed Feb 26 09:18:45 2020 +0100 @@ -300,7 +300,8 @@ } } - std::auto_ptr<DcmDataset> dataset(Orthanc::FromDcmtkBridge::FromJson(json, true, true, Orthanc::Encoding_Latin1)); + std::auto_ptr<DcmDataset> dataset(Orthanc::FromDcmtkBridge::FromJson(json, true, true, Orthanc::Encoding_Latin1, + "" /* no private tag, thus no private creator */)); if (dataset.get() == NULL) { LOG(ERROR) << "Cannot convert to JSON file to a DICOM dataset: " << path; @@ -475,7 +476,8 @@ std::auto_ptr<DcmElement> element(Orthanc::FromDcmtkBridge::FromJson( Orthanc::DicomTag(DCM_OpticalPathSequence.getGroup(), DCM_OpticalPathSequence.getElement()), - json, false, encoding)); + json, false, encoding, + "" /* no private tag, thus no private creator */)); if (!dataset.insert(element.release()).good()) { throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);