Fix bug in `prep_riboviz.nf` `interactive_viz_params` construction
mikej888 opened this issue · 1 comments
mikej888 commented
When trying to run Mok-simYAL5_config.yaml
which has features_file: null
, prep_riboviz.nf
fails at:
interactive_viz_params.features_file = features_file.toString()
with error:
No such variable: features_file
-- Check script 'prep_riboviz.nf' at line: 1365 or see '.nextflow.log' file for more details
As features_file
is an optional parameter, this should be conditional on is_features_file
(which is set during configuration validation) i.e.
if (is_features_file) {
interactive_viz_params.features_file = features_file.toString()
}