Skip to content

Commit

Permalink
revert params.remove_precursor_peak to boolean for backwards compatib…
Browse files Browse the repository at this point in the history
…ility
  • Loading branch information
jonasscheid committed Jan 22, 2025
1 parent a7c890a commit b3e9846
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ process {
"-use_A_ions ${params.use_a_ions}",
"-use_C_ions ${params.use_c_ions}",
"-use_NL_ions ${params.use_NL_ions}",
"-remove_precursor_peak ${params.remove_precursor_peak}"
params.remove_precursor_peak ? "-remove_precursor_peak yes" : "",
].join(' ').trim() }
publishDir = [
path: {"${params.outdir}/intermediate_results/comet"},
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ params {
use_a_ions = false
use_c_ions = false
use_NL_ions = false
remove_precursor_peak = 'no'
remove_precursor_peak = false
spectrum_batch_size = 0

// Preprocessing settings
Expand Down
4 changes: 2 additions & 2 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@
"description": "Include NL ions into the peptide spectrum matching"
},
"remove_precursor_peak": {
"type": "string",
"type": "boolean",
"fa_icon": "fas fa-pipe",
"description": "Include if you want to remove all peaks around precursor m/z",
"default": "no"
"default": "false"
},
"spectrum_batch_size": {
"type": "integer",
Expand Down

0 comments on commit b3e9846

Please sign in to comment.