Skip to content

Commit

Permalink
add pep, qvalue and p value as valid columns
Browse files Browse the repository at this point in the history
  • Loading branch information
jcharkow committed Apr 2, 2024
1 parent a01d399 commit 3d21131
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions massdash/loaders/access/OSWDataAccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,17 +680,17 @@ def _initializeValidScores(self):
print("Initializing valid scores for selection")
validScores = {}
if check_sqlite_table(self.conn, "SCORE_MS2"):
validScores['SCORE_MS2'] = ["SCORE"]
validScores['SCORE_MS2'] = ["SCORE", "PVALUE", "PEP", "QVALUE"]
if check_sqlite_table(self.conn, "SCORE_MS1"):
validScores['SCORE_MS1'] = ["SCORE"]
validScores['SCORE_MS1'] = ["SCORE", "PVALUE", "PEP", "QVALUE"]
if check_sqlite_table(self.conn, "SCORE_TRANSITION"):
validScores['SCORE_TRANSITION'] = ["SCORE"]
validScores['SCORE_TRANSITION'] = ["SCORE", "PVALUE", "PEP", "QVALUE"]
if check_sqlite_table(self.conn, "SCORE_PEPTIDE"):
validScores['SCORE_PEPTIDE'] = ["SCORE"]
validScores['SCORE_PEPTIDE'] = ["SCORE", "PVALUE", "PEP", "QVALUE"]
if check_sqlite_table(self.conn, "SCORE_PROTEIN"):
validScores['SCORE_PROTEIN'] = ["SCORE"]
validScores['SCORE_PROTEIN'] = ["SCORE", "PVALUE", "PEP", "QVALUE"]
if check_sqlite_table(self.conn, "SCORE_IPF"):
validScores['SCORE_IPF'] = ["SCORE"]
validScores['SCORE_IPF'] = ["SCORE", "PVALUE", "PEP", "QVALUE"]
if check_sqlite_table(self.conn, "FEATURE_MS2"):
validScores['FEATURE_MS2'] = []
stmt = "select * from FEATURE_MS2"
Expand Down

0 comments on commit 3d21131

Please sign in to comment.