Commit 7c00b8b1 authored by Cristina Cocho's avatar Cristina Cocho

Changed instrumentName for intrumentCode in acquisitionSerializer to be able...

Changed instrumentName for intrumentCode in acquisitionSerializer to be able to send properly the log images to the database
parent f412687e
......@@ -273,7 +273,7 @@ void AcquisitionSerializer::sendData(bool is3Ddata, string imageName) {
data.set_propid(getProposalId());
data.set_proposal(getProposalName());
data.set_instrid(getInstrumentId());
data.set_instrument(getInstrumentName());
data.set_instrument(getInstrumentCode());
data.set_sampid(getSampleId());
data.set_sample(getSampleName());
data.set_cycle(getCycleId());
......@@ -327,8 +327,8 @@ string AcquisitionSerializer::getInstrumentId() {
return m_experimentData->instrumentId();
}
string AcquisitionSerializer::getInstrumentName() {
return m_experimentData->instrumentName();
string AcquisitionSerializer::getInstrumentCode() {
return m_experimentData->instrumentCode();
}
string AcquisitionSerializer::getSampleId() {
......
......@@ -85,7 +85,7 @@ private:
std::string getProposalId();
std::string getProposalName();
std::string getInstrumentId();
std::string getInstrumentName();
std::string getInstrumentCode();
std::string getSampleId();
std::string getSampleName();
std::string getCycleId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment