Skip to content

Commit 652b170

Browse files
committed
Refactor note about params in the entry workflow as a best practice recommendation
Signed-off-by: Ben Sherman <[email protected]>
1 parent 733e607 commit 652b170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ workflow {
6565
```
6666

6767
:::{note}
68-
Named workflows should not use params. They should receive their inputs explicitly through the `take:` section.
68+
While params can be used outside the entry workflow, Nextflow will not be able to validate them at compile-time. Only params used in the entry workflow are validated against the params definition. Params can be passed to workflows and processes as explicit inputs to enable compile-time validation.
6969
:::
7070

7171
The default value can be overridden by the command line, params file, or config file. Parameters from multiple sources are resolved in the order described in {ref}`cli-params`.

0 commit comments

Comments
 (0)