You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Build score column selection and joins based on available score tables"""
1368
+
score_columns_to_select= []
1369
+
score_tables_to_join= []
1370
+
ifcolumn_info["score_ms1_exists"]:
1371
+
logger.debug("SCORE_MS1 table exists, adding score columns to selection")
1372
+
score_columns_to_select.append(
1373
+
"SCORE_MS1.SCORE AS SCORE_MS1_SCORE, SCORE_MS1.RANK AS SCORE_MS1_RANK, SCORE_MS1.PVALUE AS SCORE_MS1_P_VALUE, SCORE_MS1.QVALUE AS SCORE_MS1_Q_VALUE, SCORE_MS1.PEP AS SCORE_MS1_PEP"
1374
+
)
1375
+
score_tables_to_join.append(
1376
+
f"INNER JOIN sqlite_scan('{self.config.infile}', 'SCORE_MS1') AS SCORE_MS1 ON FEATURE.ID = SCORE_MS1.FEATURE_ID"
1377
+
)
1378
+
1379
+
ifcolumn_info["score_ms2_exists"]:
1380
+
logger.debug("SCORE_MS2 table exists, adding score columns to selection")
1381
+
score_columns_to_select.append(
1382
+
"SCORE_MS2.SCORE AS SCORE_MS2_SCORE, SCORE_MS2.RANK AS SCORE_MS2_PEAK_GROUP_RANK, SCORE_MS2.PVALUE AS SCORE_MS2_P_VALUE, SCORE_MS2.QVALUE AS SCORE_MS2_Q_VALUE, SCORE_MS2.PEP AS SCORE_MS2_PEP"
1383
+
)
1384
+
score_tables_to_join.append(
1385
+
f"INNER JOIN sqlite_scan('{self.config.infile}', 'SCORE_MS2') AS SCORE_MS2 ON FEATURE.ID = SCORE_MS2.FEATURE_ID"
0 commit comments