Skip to content

refactor: compose test_prokaryotic profile on prokaryotic#1734

Merged
pinin4fjords merged 4 commits into
devfrom
fix/prokaryotic-profile-composability
Feb 27, 2026
Merged

refactor: compose test_prokaryotic profile on prokaryotic#1734
pinin4fjords merged 4 commits into
devfrom
fix/prokaryotic-profile-composability

Conversation

@pinin4fjords
Copy link
Copy Markdown
Member

Summary

Make test_prokaryotic compose on the prokaryotic profile rather than duplicating all its settings.

  • nextflow.config: test_prokaryotic now includes prokaryotic.config first, then layers test_prokaryotic.config on top
  • conf/test_prokaryotic.config: Remove 16 lines of duplicated prokaryotic settings (prokaryotic flag, aligner, gffread, featurecounts_feature_type, skip_bigwig, skip_rseqc, skip_dupradar, skip_qualimap) since they are now inherited from prokaryotic.config

The nf-test params blocks in tests/prokaryotic.nf.test are kept as-is since CI runs those tests with -profile test,docker (not -profile test_prokaryotic), so the params block is the mechanism that configures prokaryotic behavior in CI.

Addresses review feedback from @adamrtalbot in PR #1717 regarding test/profile/param scoping.

Test plan

  • CI passes (prokaryotic stub and full tests produce identical results)
  • Manual: nextflow run . -profile test_prokaryotic,docker --outdir results produces the same output as before

🤖 Generated with Claude Code

Make test_prokaryotic include prokaryotic.config first, then layer
test-specific settings on top. This removes duplicated prokaryotic
params from test_prokaryotic.config (prokaryotic flag, aligner,
gffread, featurecounts_feature_type, skip_bigwig, skip_rseqc,
skip_dupradar, skip_qualimap) since they are now inherited.

The nf-test params blocks in tests/prokaryotic.nf.test are kept
as-is since CI runs those tests with -profile test,docker (not
test_prokaryotic), so the params block is the mechanism that
sets prokaryotic behavior in CI.

Addresses review feedback from @adamrtalbot in PR #1717.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nf-core-bot
Copy link
Copy Markdown
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.5.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 27, 2026

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

Posted for pipeline commit b91f906

+| ✅ 202 tests passed       |+
#| ❔   9 tests were ignored |#
#| ❔   1 tests had warnings |#
!| ❗   9 tests had warnings |!
Details

❗ Test warnings:

  • files_exist - File not found: assets/multiqc_config.yml
  • nextflow_config - Config manifest.version should end in dev: 3.23.0
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • 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!

❔ Tests ignored:

❔ Tests fixed:

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.1
  • Run at 2026-02-27 12:33:09

Comment thread nextflow.config
includeConfig 'conf/prokaryotic.config'
includeConfig 'conf/test_prokaryotic.config'
}
prokaryotic { includeConfig 'conf/prokaryotic.config' }
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.

Poor prokaryotic profile feels out of place down here with all the test profiles 😆

Copy link
Copy Markdown
Contributor

@adamrtalbot adamrtalbot left a comment

Choose a reason for hiding this comment

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

Better!

One more question, can we set profiles within nf-tests? I don't think I've tried 🤔

@pinin4fjords
Copy link
Copy Markdown
Member Author

Better!

One more question, can we set profiles within nf-tests? I don't think I've tried 🤔

You can set it in global config (though I stopped doing that when I added GPU stuff), but I don't think you can in tests themselves

@pinin4fjords pinin4fjords merged commit 12ca2e0 into dev Feb 27, 2026
82 of 83 checks passed
@pinin4fjords pinin4fjords deleted the fix/prokaryotic-profile-composability branch February 27, 2026 12:47
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.

3 participants