| 115 | |
| 116 | |
| 117 | String extractCachedMetaFilename(const String& in) |
| 118 | { |
| 119 | // Special handling of cached mzML as input types: |
| 120 | // we expect two paired input files which we should read into exp |
| 121 | std::vector<String> split_out; |
| 122 | in.split(".cachedMzML", split_out); |
| 123 | if (split_out.size() != 2) |
| 124 | { |
| 125 | OPENMS_LOG_ERROR << "Cannot deduce base path from input '" << in |
| 126 | << "' (note that '.cachedMzML' should only occur once as the final ending)" << std::endl; |
| 127 | return ""; |
| 128 | } |
| 129 | String in_meta = split_out[0] + ".mzML"; |
| 130 | return in_meta; |
| 131 | } |
| 132 | |
| 133 | // We do not want this class to show up in the docu: |
| 134 | /// @cond TOPPCLASSES |