MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setPrimaryMSRunPath

Method setPrimaryMSRunPath

src/openms/source/METADATA/ProteinIdentification.cpp:396–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394 }
395
396 void ProteinIdentification::setPrimaryMSRunPath(const StringList& s, bool raw)
397 {
398 String meta_name = raw ? "spectra_data_raw" : "spectra_data";
399 setMetaValue(meta_name, DataValue(StringList()));
400 if (s.empty())
401 {
402 OPENMS_LOG_WARN << "Setting an empty value for primary MS runs paths." << std::endl;
403 }
404 else
405 {
406 addPrimaryMSRunPath(s, raw);
407 }
408 }
409
410 void ProteinIdentification::setPrimaryMSRunPath(const StringList& s, MSExperiment& e)
411 {

Callers

nothing calls this directly

Calls 4

DataValueClass · 0.50
emptyMethod · 0.45
getPrimaryMSRunPathMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected