Only read the meta data from a file and use it to populate exp_meta
| 296 | |
| 297 | /// Only read the meta data from a file and use it to populate exp_meta |
| 298 | boost::shared_ptr< PeakMap > SwathFile::populateMetaData_(const String& file) |
| 299 | { |
| 300 | boost::shared_ptr<PeakMap > experiment_metadata(new PeakMap); |
| 301 | MzMLFile f; |
| 302 | f.getOptions().setAlwaysAppendData(true); |
| 303 | f.getOptions().setFillData(false); |
| 304 | f.load(file, *experiment_metadata); |
| 305 | return experiment_metadata; |
| 306 | } |
| 307 | /// Counts the number of scans in a full Swath file (e.g. concatenated non-split file) |
| 308 | void SwathFile::countScansInSwath_(const std::vector<MSSpectrum>& exp, |
| 309 | std::vector<int>& swath_counter, int& nr_ms1_spectra, |
nothing calls this directly
no test coverage detected