Skip to content

fix: NEXTFLOW_RUN to ensure Nextflow Tower and Hasta config compatibility - #27

Merged
beatrizsavinhas merged 54 commits into
devfrom
add-tower-fix
Oct 13, 2026
Merged

beatrizsavinhas merged 54 commits into
devfrom
add-tower-fix

Conversation

@beatrizsavinhas

@beatrizsavinhas beatrizsavinhas commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Closes https://github.com/Clinical-Genomics/MTP-oncoflow/issues/152.
Closes https://github.com/Clinical-Genomics/MTP-oncoflow/issues/140.

See notes on issue above for more detailed information about the errors that these changes address.

Verified by test_run_v_3_0_0_with_tower.

Changed

  • Logic for child environment generation in NEXTFLOW_RUN module to reset environment variables that are incompatible with nested runs of child pipelines through Tower and set NXF_WORK for the child pipeline to ensure compatibility with the hasta config.
    • Only specific problematic Nextflow variables are now reset instead of the previous approach of reseting all variables except a set that needed to be propagated.
    • Tower related environment variables that are incompatible with child runs are now also reset.
    • NXF_WORK is set to ${cache_path}/work to ensure the Java tmp dir is correctly set as per the hasta config and in accordance to the cache cleaning logic of the NEXTFLOW_RUN module.

…ion"

This reverts commit c023e4a, reversing
changes made to 1841034.
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 43cdb8e

+| ✅ 162 tests passed       |+
#| ❔  27 tests were ignored |#
!| ❗  24 tests had warnings |!
Details

❗ Test warnings:

  • files_exist - File not found: assets/multiqc_config.yml
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in nextflow.config: Optionally, you can add a pipeline-specific nf-core config at https://github.com/nf-core/configs
  • pipeline_todos - TODO string in nextflow.config: Update the field with the details of the contributors to your pipeline. New with Nextflow version 24.10.0
  • pipeline_todos - TODO string in CHANGELOG.md: ## v1.0.0dev - [unreleased replace with date on release ]
  • pipeline_todos - TODO string in README.md: TODO nf-core:
  • pipeline_todos - TODO string in README.md: Include a figure that guides the user through the major workflow steps. Many nf-core
  • pipeline_todos - TODO string in README.md: Fill in short bullet-pointed list of the default steps in the pipeline
  • pipeline_todos - TODO string in README.md: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets.
  • pipeline_todos - TODO string in README.md: update the following command to include all required parameters for a minimal example
  • pipeline_todos - TODO string in README.md: If applicable, make list of people who have also contributed
  • pipeline_todos - TODO string in README.md: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file.
  • pipeline_todos - TODO string in README.md: Add bibliography of tools and data used in your pipeline
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.
  • pipeline_todos - TODO string in test_full.config: Specify the paths to your full test data ( on nf-core/test-datasets or directly in repositories, e.g. SRA)
  • pipeline_todos - TODO string in test_full.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in usage.md: Add documentation about anything specific to running your pipeline. For general topics, please point to (and add to) the main nf-core website.
  • pipeline_todos - TODO string in output.md: Write this documentation describing your workflow's output
  • schema_lint - Parameter input not found in schema

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 4.1.0
  • Run at 2026-10-12 13:57:29

@Clinical-Genomics Clinical-Genomics deleted a comment from github-actions Bot Oct 7, 2026
@Clinical-Genomics Clinical-Genomics deleted a comment from github-actions Bot Oct 7, 2026
@Clinical-Genomics Clinical-Genomics deleted a comment from github-actions Bot Oct 9, 2026
Comment thread modules/local/nextflow/run/main.nf
@beatrizsavinhas beatrizsavinhas changed the title fix: NEXTFLOW_RUN to ensure Nextflow Tower compatibility fix: NEXTFLOW_RUN to ensure Nextflow Tower and hasta config compatibility Oct 12, 2026
@beatrizsavinhas beatrizsavinhas changed the title fix: NEXTFLOW_RUN to ensure Nextflow Tower and hasta config compatibility fix: NEXTFLOW_RUN to ensure Nextflow Tower and Hasta config compatibility Oct 12, 2026
@beatrizsavinhas
beatrizsavinhas marked this pull request as ready for review October 12, 2026 14:14
@beatrizsavinhas
beatrizsavinhas requested a review from a team as a code owner October 12, 2026 14:14
Comment thread modules/local/nextflow/run/main.nf

@kristinebilgrav kristinebilgrav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Great 🚀

@beatrizsavinhas
beatrizsavinhas merged commit 2a600de into dev Oct 13, 2026
12 checks passed
@beatrizsavinhas
beatrizsavinhas deleted the add-tower-fix branch October 13, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants