Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect format of create-params-file #3441

Closed
matbonfanti opened this issue Feb 3, 2025 · 1 comment
Closed

incorrect format of create-params-file #3441

matbonfanti opened this issue Feb 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@matbonfanti
Copy link

Description of the bug

The command nf-core pipelines create-params-file is intended to generate a YAML-formatted file that can be used as a parameters file for Nextflow execution (-params-file argument). However, the generated file incorrectly uses the format "name = value" instead of the correct YAML syntax "name: value". This causes issues when trying to use the file as a valid input for Nextflow.

Command used and terminal output

$ nf-core pipelines create-params-file --output ./nf-params.yml nf-core/sarek

Here are the first lines of the nf-params.yml output:

===

## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##     nf-core/sarek 3.5.0
## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##     This is an example parameter file to pass to the `-params-file` option
##     of nextflow run with the nf-core/sarek pipeline.
##
##     Uncomment lines with a single '#' if you want to pass the parameter to
##     the pipeline.
## -----------------------------------------------------------------------------

## =============================================================================
## Input/output options
## =============================================================================
## Define where the pipeline should find input data and save output data.

## (1 hidden parameters are not shown)


## -----------------------------------------------------------------------------
## input
## -----------------------------------------------------------------------------
##     Path to comma-separated file containing information about the samples
##     in the experiment.
##     Type: string
## -----------------------------------------------------------------------------
# input = null

## -----------------------------------------------------------------------------
## step
## -----------------------------------------------------------------------------
##     Starting step
##     Type: string
##     Required
## -----------------------------------------------------------------------------
# step = "mapping"

System information

  • Nextflow 24.10.4
  • Nf-core current development version (commit 639e419)
  • python 3.11.11
  • linux OS (Ubuntu)
@matbonfanti matbonfanti added the bug Something isn't working label Feb 3, 2025
@matbonfanti
Copy link
Author

fixed by #3442, closing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant