Skip to content

Commit

Permalink
Update docs [ci skip]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Oct 23, 2024
1 parent 17b7ab5 commit 3f6f377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,6 @@ When a closure takes a single parameter, the parameter can be omitted, in which
```groovy
[1, 2, 3].each { println it }
```

However, this practice is deprecated and will not be supported in the future.
:::

## Script definitions
Expand Down
4 changes: 2 additions & 2 deletions docs/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ workflow {
```

:::{note}
While params can also be used by named workflows, this practice is deprecated and will not be supported in the future. Named workflows should receive their inputs explicitly through the `take:` section.
While params can also be used by named workflows, this practice is discouraged. Named workflows should receive their inputs explicitly through the `take:` section.
:::

## Workflow inputs (`take`)
Expand Down Expand Up @@ -234,7 +234,7 @@ Process named outputs are defined using the `emit` option on a process output. S
:::

:::{note}
Process and workflow outputs can also be accessed by index (e.g., `foo.out[0]`, `foo.out[1]`, etc.). However, this practice is deprecated and will not be supported in the future. Multiple outputs should instead be accessed by name.
Process and workflow outputs can also be accessed by index (e.g., `foo.out[0]`, `foo.out[1]`, etc.). Multiple outputs should instead be accessed by name.
:::

Workflows can be composed in the same way:
Expand Down

0 comments on commit 3f6f377

Please sign in to comment.