Skip to content

Commit be2a6bc

Browse files
committed
update version string; revert to clearing both target and decoy protein vectors in StorePeptide()
1 parent b276a6f commit be2a6bc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CometSearch/CometSearch.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4732,10 +4732,8 @@ void CometSearch::StorePeptide(int iWhichQuery,
47324732
pTmp.cPrevAA = pQuery->_pResults[siLowestXcorrScoreIndex].cPrevAA;
47334733
pTmp.cNextAA = pQuery->_pResults[siLowestXcorrScoreIndex].cNextAA;
47344734

4735-
if (bDecoyPep) //OK JKE check if this change is correct
4736-
pQuery->_pResults[siLowestXcorrScoreIndex].pWhichDecoyProtein.clear();
4737-
else
4738-
pQuery->_pResults[siLowestXcorrScoreIndex].pWhichProtein.clear();
4735+
pQuery->_pResults[siLowestXcorrScoreIndex].pWhichDecoyProtein.clear();
4736+
pQuery->_pResults[siLowestXcorrScoreIndex].pWhichProtein.clear();
47394737
pQuery->_pResults[siLowestXcorrScoreIndex].lProteinFilePosition = dbe->lProteinFilePosition;
47404738

47414739
if (bDecoyPep)

CometSearch/Common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ using namespace std;
7070
#define GITHUBSHA ""
7171
#endif
7272

73-
#define comet_version "2025.01 rev. 0"
73+
#define comet_version "2025.01 rev. 1"
7474
#define copyright "(c) University of Washington"
7575
extern string g_sCometVersion; // version string including git hash
7676

0 commit comments

Comments
 (0)