Skip to content

Commit

Permalink
Fixed parameter calling in psmfeatureextractor
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenlem committed Aug 18, 2023
1 parent 7a0ec5b commit 047c8d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/local/openms_psmfeatureextractor.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ process OPENMS_PSMFEATUREEXTRACTOR {
extra_features = "-extra"
}
if(params.use_deeplc){
if(params.add_abs_rt_error){
if(params.deeplc_add_abs_rt_error){
extra_features = "${extra_features} deeplc_abs_error"
}
if(params.add_log_rt_error){
if(params.deeplc_add_log_rt_error){
extra_features = "${extra_features} deeplc_log_error"
}
if(params.add_sqr_rt_error || (!params.add_sqr_rt_error && !params.add_abs_rt_error && !params.add_log_rt_error)){
if(params.deeplc_add_sqr_rt_error || (!params.deeplc_add_sqr_rt_error && !params.deeplc_add_abs_rt_error && !params.deeplc_add_log_rt_error)){
extra_features = "${extra_features} deeplc_sqr_error"
}
}
Expand Down

0 comments on commit 047c8d8

Please sign in to comment.