diff --git a/CHANGELOG.md b/CHANGELOG.md index 35b5f8865..2a1dc737d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ ### General +- output passed to write_params_file as Path object ([#3435](https://github.com/nf-core/tools/pull/3435)) - chore(deps): update python:3.12-slim docker digest to 69ce3ae ([#3433](https://github.com/nf-core/tools/pull/3433)) ## [v3.2.0 - Pewter Pangolin](https://github.com/nf-core/tools/releases/tag/3.2.0) - [2025-01-27] diff --git a/nf_core/commands_pipelines.py b/nf_core/commands_pipelines.py index 3b28f4979..c4eda78b1 100644 --- a/nf_core/commands_pipelines.py +++ b/nf_core/commands_pipelines.py @@ -218,7 +218,7 @@ def pipelines_create_params_file(ctx, pipeline, revision, output, force, show_hi """ builder = ParamsFileBuilder(pipeline, revision) - if not builder.write_params_file(output, show_hidden=show_hidden, force=force): + if not builder.write_params_file(Path(output), show_hidden=show_hidden, force=force): sys.exit(1)