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

Link to other docs on the failOnIgnore option #5122

Merged
merged 5 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ The following table lists the properties that can be accessed on the `workflow`
:::
: Whether the `workflow.failOnIgnore` config option was enabled.

: See {ref}`process-error-strategy` for use-cases of this option.

`workflow.fusion.enabled`
: Whether Fusion is enabled.

Expand Down
2 changes: 2 additions & 0 deletions docs/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1691,6 +1691,8 @@ To illustrate the differences between error strategies, consider the following e
- **errorStrategy `finish`**: Nextflow will allow any other existing tasks to conclude (but not submit any more) and report an error.
- **errorStrategy `ignore`**: Nextflow will continue submitting tasks for the remaining 95 samples, complete the workflow, and report a successful pipeline completion.
- **errorStrategy `ignore` and `workflow.failOnIgnore` set to `true` in configuration**: The same behavior as setting the errorStrategy alone, except the pipeline will return an exit status of -1 and report an error.

jfy133 marked this conversation as resolved.
Show resolved Hide resolved
See {ref}`metadata-workflow` for more information on `workflow.failOnIgnore`.
:::

The `retry` error strategy allows you to re-submit for execution a process returning an error condition. For example:
Expand Down
Loading