get the file path to the first MS run
| 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 | { |