| 166 | } |
| 167 | |
| 168 | ExitCodes doLowMemAlgorithm(const PeakPickerHiRes& pp) |
| 169 | { |
| 170 | /////////////////////////////////// |
| 171 | // Create the consumer object, add data processing |
| 172 | /////////////////////////////////// |
| 173 | PPHiResMzMLConsumer pp_consumer(out, pp); |
| 174 | pp_consumer.addDataProcessing(getProcessingInfo_(DataProcessing::PEAK_PICKING)); |
| 175 | |
| 176 | /////////////////////////////////// |
| 177 | // Create new MSDataReader and set our consumer |
| 178 | /////////////////////////////////// |
| 179 | MzMLFile mz_data_file; |
| 180 | mz_data_file.setLogType(log_type_); |
| 181 | mz_data_file.transform(in, &pp_consumer); |
| 182 | |
| 183 | return EXECUTION_OK; |
| 184 | } |
| 185 | |
| 186 | ExitCodes main_(int, const char **) override |
| 187 | { |
nothing calls this directly
no test coverage detected