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

Function convertMapLabelFree_

src/openms/source/ANALYSIS/ID/IDBoostGraph.cpp:156–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 }
155
156 unordered_map<unsigned, unsigned> convertMapLabelFree_(
157 const map<pair<String, unsigned>, unsigned>& fileToRun,
158 const StringList& files)
159 {
160 unordered_map<unsigned, unsigned> indexToRun;
161 unsigned i = 0;
162 for (const auto& file : files)
163 {
164 indexToRun[i] = fileToRun.at({file,1});
165 ++i;
166 } // TODO what if file is not in the experimental design? Check in the very beginning!?
167 return indexToRun;
168 }
169
170 unordered_map<unsigned, unsigned> convertMap_(
171 const map<pair<String, unsigned>, unsigned>& fileLabToPrefractionationGroup,

Callers 1

Calls 1

atMethod · 0.80

Tested by

no test coverage detected