Skip to content

Commit

Permalink
Update script filename
Browse files Browse the repository at this point in the history
Signed-off-by: christopher-hakkaart <[email protected]>
  • Loading branch information
christopher-hakkaart committed Aug 6, 2024
1 parent e9bd962 commit d769576
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions platform_versioned_docs/version-23.4.0/launch/advanced.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ Post-run scripts are executed after all Nextflow processes have completed. Post-

Enable this option to ensure that Nextflow pulls the latest version from the Git repository. This is equivalent to using the `-latest` flag.

## Main script
### Main script

Nextflow will attempt to run the script named `main.nf` in the project repository by default. You can change this with the `manifest.mainScript` option or by providing the script filename to run in this field.
Nextflow will attempt to run the script named `main.nf` in the project repository by default. A custom script filename can be configured using `manifest.mainScript` or by providing the script filename in this field.

:::note
If you specify a custom main script, the root of the default branch in your pipeline repository must still contain blank `main.nf` and `nextflow.config` files for Nextflow to interpret the pipeline correctly. See [Nextflow configuration](../faqs.mdx#nextflow-configuration) for more information on this known Nextflow behavior.
If you specify a custom script filename, the root of the default branch in your pipeline repository must still contain blank `main.nf` and `nextflow.config` files. See [Nextflow configuration](../faqs.mdx#nextflow-configuration) for more information on this known Nextflow behavior.
:::

## Workflow entry name
Expand Down
4 changes: 2 additions & 2 deletions platform_versioned_docs/version-24.1.1/launch/advanced.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ Replace Nextflow process commands with command [stubs](https://www.nextflow.io/d

### Main script

Nextflow will attempt to run the script named `main.nf` in the project repository by default. You can change this with the `manifest.mainScript` option or by providing the script filename to run in this field.
Nextflow will attempt to run the script named `main.nf` in the project repository by default. A custom script filename can be configured using `manifest.mainScript` or by providing the script filename in this field.

:::note
If you specify a custom main script, the root of the default branch in your pipeline repository must still contain blank `main.nf` and `nextflow.config` files for Nextflow to interpret the pipeline correctly. See [Nextflow configuration](../faqs.mdx#nextflow-configuration) for more information on this known Nextflow behavior.
If you specify a custom script filename, the root of the default branch in your pipeline repository must still contain blank `main.nf` and `nextflow.config` files. See [Nextflow configuration](../faqs.mdx#nextflow-configuration) for more information on this known Nextflow behavior.
:::

### Workflow entry name
Expand Down

0 comments on commit d769576

Please sign in to comment.