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

Method transform

src/openms/source/FORMAT/MzMLFile.cpp:168–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 void MzMLFile::transform(const String& filename_in, Interfaces::IMSDataConsumer* consumer, bool skip_full_count, bool skip_first_pass)
169 {
170 // First pass through the file -> get the meta-data and hand it to the consumer
171 if (!skip_first_pass) transformFirstPass_(filename_in, consumer, skip_full_count);
172
173 // Second pass through the data, now read the spectra!
174 {
175 PeakMap dummy;
176 Internal::MzMLHandler handler(dummy, filename_in, getVersion(), *this);
177 handler.setOptions(options_);
178 handler.setMSDataConsumer(consumer);
179 safeParse_(filename_in, &handler);
180 }
181 }
182
183 void MzMLFile::transform(const String& filename_in, Interfaces::IMSDataConsumer* consumer, PeakMap& map, bool skip_full_count, bool skip_first_pass)
184 {

Callers 15

test0Function · 0.95
main_Method · 0.45
main_Method · 0.45
doLowMemAlgorithmMethod · 0.45
doLowMemAlgorithmMethod · 0.45
main_Method · 0.45
main_Method · 0.45
main_Method · 0.45
main_Method · 0.45
doLowMemAlgorithmMethod · 0.45
loadMzMLMethod · 0.45
loadMzXMLMethod · 0.45

Calls 3

setMSDataConsumerMethod · 0.80
setAlwaysAppendDataMethod · 0.80
setOptionsMethod · 0.45

Tested by 4

test0Function · 0.76
main_Method · 0.36
START_SECTIONFunction · 0.36
START_SECTIONFunction · 0.36