Mercurial > hg > orthanc-stone
comparison Framework/Loaders/OrthancMultiframeVolumeLoader.cpp @ 994:1f74bc3459ba
fix build due to rename in Orthanc::DicomMap
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Sep 2019 08:27:12 +0200 |
parents | a7351ad54960 |
children | e713f1a99861 391fb6d6905d |
comparison
equal
deleted
inserted
replaced
993:f270852d3180 | 994:1f74bc3459ba |
---|---|
56 | 56 |
57 | 57 |
58 static std::string GetSopClassUid(const Orthanc::DicomMap& dicom) | 58 static std::string GetSopClassUid(const Orthanc::DicomMap& dicom) |
59 { | 59 { |
60 std::string s; | 60 std::string s; |
61 if (!dicom.CopyToString(s, Orthanc::DICOM_TAG_SOP_CLASS_UID, false)) | 61 if (!dicom.LookupStringValue(s, Orthanc::DICOM_TAG_SOP_CLASS_UID, false)) |
62 { | 62 { |
63 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadFileFormat, | 63 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadFileFormat, |
64 "DICOM file without SOP class UID"); | 64 "DICOM file without SOP class UID"); |
65 } | 65 } |
66 else | 66 else |