| 63 | } |
| 64 | |
| 65 | MSChromatogram OnDiscMSExperiment::getChromatogramByNativeId(const std::string& id) |
| 66 | { |
| 67 | if (!meta_ms_experiment_) |
| 68 | { |
| 69 | MSChromatogram chromatogram; |
| 70 | indexed_mzml_file_.getMSChromatogramByNativeId(id, chromatogram); |
| 71 | return chromatogram; |
| 72 | } |
| 73 | |
| 74 | MSChromatogram chromatogram = getMetaChromatogramById_(id); |
| 75 | indexed_mzml_file_.getMSChromatogramByNativeId(id, chromatogram); |
| 76 | return chromatogram; |
| 77 | } |
| 78 | |
| 79 | MSSpectrum OnDiscMSExperiment::getMetaSpectrumById_(const std::string& id) |
| 80 | { |
no test coverage detected