Skip to content

Commit

Permalink
Merge pull request #501 from Proteobench/499-error-in-match-between-r…
Browse files Browse the repository at this point in the history
…un-parsing-for-mq

bugfix for MBR parameter parsing in MQ
  • Loading branch information
RobbinBouwmeester authored Dec 16, 2024
2 parents 0c96c28 + 2ec83db commit cc5bfa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion proteobench/io/params/maxquant.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def extract_params(fname, ms2frac="FTMS") -> ProteoBenchParameters:
params.ident_fdr_psm = None
params.ident_fdr_peptide = float(record.loc["peptideFdr"].squeeze())
params.ident_fdr_protein = float(record.loc["proteinFdr"].squeeze())
params.enable_match_between_runs = record.loc["matchBetweenRuns"].squeeze() == "True"
params.enable_match_between_runs = record.loc["matchBetweenRuns"].squeeze().lower() == "true"
_precursor_mass_tolerance = record.loc[
pd.IndexSlice["parameterGroups", "parameterGroup", "mainSearchTol", :]
].squeeze()
Expand Down
2 changes: 1 addition & 1 deletion test/params/mqpar1.5.3.30_MBR_sel.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ident_fdr_psm": null,
"ident_fdr_peptide": 0.01,
"ident_fdr_protein": 0.01,
"enable_match_between_runs": false,
"enable_match_between_runs": true,
"precursor_mass_tolerance": "[-4.5 ppm, 4.5 ppm]",
"fragment_mass_tolerance": "[-20 ppm, 20 ppm]",
"enzyme": "Trypsin/P",
Expand Down

0 comments on commit cc5bfa0

Please sign in to comment.