Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vdemichev committed Nov 10, 2019
1 parent 6fce47c commit 456b558
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified DIA-NN-Setup.msi
Binary file not shown.
Binary file modified DiaNN.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions src/diann.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3775,7 +3775,7 @@ class Library {

if (!elution_groups.size()) { // no elution groups have been added: old version of the .speclib format
for (auto &e : entries) {
auto &name = to_eg(e.name);
auto name = to_eg(e.name);
auto egp = eg.insert(std::pair<std::string, int>(name, eg.size()));
elution_groups.push_back(egp.first->second);
}
Expand Down Expand Up @@ -3893,7 +3893,7 @@ class Library {
prev_id = id;
ins->second.name = ins->first;

auto &eg_name = (colInd[libEG] >= 0 ? words[colInd[libEG]] : to_eg(words[colInd[libPr]]));
auto eg_name = (colInd[libEG] >= 0 ? words[colInd[libEG]] : to_eg(words[colInd[libPr]]));
auto egp = eg.insert(std::pair<std::string, int>(eg_name, eg.size()));
elution_groups.push_back(egp.first->second);

Expand Down Expand Up @@ -4063,7 +4063,7 @@ class Library {
auto pos = std::lower_bound(precursors.begin(), precursors.end(), e.name);
if (pos == precursors.end() || *pos != e.name) {
entries.push_back(e), i++;
auto &eg_name = to_eg(e.name);
auto eg_name = to_eg(e.name);
auto egp = eg.insert(std::pair<std::string, int>(eg_name, eg.size()));
elution_groups.push_back(egp.first->second);
}
Expand Down

0 comments on commit 456b558

Please sign in to comment.