Skip to content

Add nf-core pipelines containers create-configs - #4454

Open
ewels wants to merge 1 commit into
nf-core:devfrom
ewels:pipelines-containers-command
Open

Add nf-core pipelines containers create-configs#4454
ewels wants to merge 1 commit into
nf-core:devfrom
ewels:pipelines-containers-command

Conversation

@ewels

@ewels ewels commented Aug 25, 2026

Copy link
Copy Markdown
Member

Trying to streamline steps for template syncs. I want to be able to programmatically regenerate the containers, but linting refuses to run if there's unstaged changes in git, for safety. That's safe for most things but annoying in the middle of a merge conflict resolution.

This PR adds a tiny command to regenerate the pipeline conf/containers_*.config files on demand, without needing a clean git tree:

nf-core pipelines containers create-configs

Alternative approach would be to have a --force flag or something for linting to allow it to run anywhere. Open to suggestions! Also happy to just close and put up with committing first, it's not that bad.

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

🤖 Generated with Claude Code

Regenerates the pipeline `conf/containers_*.config` files on demand.
Previously this was only possible as a side effect of other commands
(`pipelines create`, `modules install/update/remove/patch`) or via
`pipelines lint --fix container_configs`, which refuses to run on a
dirty git tree.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.21053% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.18%. Comparing base (cb623e0) to head (2700c9f).

Files with missing lines Patch % Lines
nf_core/__main__.py 70.00% 3 Missing ⚠️

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ewels
ewels requested a review from mashehu August 25, 2026 18:57
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.

1 participant