| 200 | } |
| 201 | |
| 202 | void MzMLFile::transformFirstPass_(const String& filename_in, Interfaces::IMSDataConsumer* consumer, bool skip_full_count) |
| 203 | { |
| 204 | // Create temporary objects and counters |
| 205 | PeakFileOptions tmp_options(options_); |
| 206 | Size scount = 0, ccount = 0; |
| 207 | PeakMap experimental_settings; |
| 208 | Internal::MzMLHandler handler(experimental_settings, filename_in, getVersion(), *this); |
| 209 | |
| 210 | // set temporary options for handler |
| 211 | tmp_options.setMetadataOnly( skip_full_count ); |
| 212 | handler.setOptions(tmp_options); |
| 213 | handler.setLoadDetail(Internal::XMLHandler::LD_RAWCOUNTS); |
| 214 | |
| 215 | safeParse_(filename_in, &handler); |
| 216 | |
| 217 | // After parsing, collect information |
| 218 | handler.getCounts(scount, ccount); |
| 219 | consumer->setExpectedSize(scount, ccount); |
| 220 | consumer->setExperimentalSettings(experimental_settings); |
| 221 | } |
| 222 | |
| 223 | std::map<UInt, MzMLFile::SpecInfo> MzMLFile::getCentroidInfo(const String& filename, const Size first_n_spectra_only) |
| 224 | { |
nothing calls this directly
no test coverage detected