| 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, |
no test coverage detected