comparison OrthancServer/ServerJobs/MergeStudyJob.cpp @ 3920:82e88ff003d7 c-get

merge default -> c-get
author Alain Mazy <alain@mazy.be>
date Tue, 12 May 2020 14:58:24 +0200
parents 023b2a9f3aa1
children 3661e2a72482
comparison
equal deleted inserted replaced
3918:dba48c162b7b 3920:82e88ff003d7
143 DicomInstanceToStore toStore; 143 DicomInstanceToStore toStore;
144 toStore.SetOrigin(origin_); 144 toStore.SetOrigin(origin_);
145 toStore.SetParsedDicomFile(*modified); 145 toStore.SetParsedDicomFile(*modified);
146 146
147 std::string modifiedInstance; 147 std::string modifiedInstance;
148 if (context_.Store(modifiedInstance, toStore) != StoreStatus_Success) 148 if (context_.Store(modifiedInstance, toStore,
149 StoreInstanceMode_Default) != StoreStatus_Success)
149 { 150 {
150 LOG(ERROR) << "Error while storing a modified instance " << instance; 151 LOG(ERROR) << "Error while storing a modified instance " << instance;
151 return false; 152 return false;
152 } 153 }
153 154