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

Method getPrimaryMSRunPath

src/openms/source/KERNEL/FeatureMap.cpp:394–406  ·  view source on GitHub ↗

get the file path to the first MS run

Source from the content-addressed store, hash-verified

392
393 /// get the file path to the first MS run
394 void FeatureMap::getPrimaryMSRunPath(StringList& toFill) const
395 {
396 if (this->metaValueExists("spectra_data"))
397 {
398 toFill = this->getMetaValue("spectra_data");
399 }
400
401 if (toFill.empty())
402 {
403 OPENMS_LOG_WARN << "No MS run annotated in feature map. Setting to 'UNKNOWN' " << std::endl;
404 toFill.push_back("UNKNOWN");
405 }
406 }
407
408 void FeatureMap::clear(bool clear_meta_data)
409 {

Callers 15

addDataFileMethod · 0.45
main_Method · 0.45
checkSingleRunPerID_Method · 0.45
loadAndCleanupIDFile_Method · 0.45
quantifyFraction_Method · 0.45
main_Method · 0.45
main_Method · 0.45
main_Method · 0.45
main_Method · 0.45
common_main_Method · 0.45

Calls 4

metaValueExistsMethod · 0.80
getMetaValueMethod · 0.80
emptyMethod · 0.45
push_backMethod · 0.45

Tested by 2

START_SECTIONFunction · 0.36
START_SECTIONFunction · 0.36