Skip to content

Commit 2bbdb87

Browse files
authored
Merge pull request #3435 from matbonfanti/fix-create-params-file
output passed to write_params_file as Path object
2 parents 1265f65 + 5f92650 commit 2bbdb87

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
### General
1818

19+
- output passed to write_params_file as Path object ([#3435](https://github.com/nf-core/tools/pull/3435))
1920
- chore(deps): update python:3.12-slim docker digest to 69ce3ae ([#3433](https://github.com/nf-core/tools/pull/3433))
2021

2122
## [v3.2.0 - Pewter Pangolin](https://github.com/nf-core/tools/releases/tag/3.2.0) - [2025-01-27]

nf_core/commands_pipelines.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def pipelines_create_params_file(ctx, pipeline, revision, output, force, show_hi
218218
"""
219219
builder = ParamsFileBuilder(pipeline, revision)
220220

221-
if not builder.write_params_file(output, show_hidden=show_hidden, force=force):
221+
if not builder.write_params_file(Path(output), show_hidden=show_hidden, force=force):
222222
sys.exit(1)
223223

224224

0 commit comments

Comments
 (0)