+
Skip to content

Add opt-in feature gpu #3562

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

Merged
merged 48 commits into from
Jun 30, 2025
Merged

Add opt-in feature gpu #3562

merged 48 commits into from
Jun 30, 2025

Conversation

ningyuxin1999
Copy link
Contributor

@ningyuxin1999 ningyuxin1999 commented May 10, 2025

Add opt-in option to template features (issue #3315)

Turned off the switch for gpu in the textual app by default.

  • Organising the switches into sections, with a specific section for opt-in features.

Added gpu to the template nf-core.yml.

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

@ningyuxin1999 ningyuxin1999 requested a review from mirpedrol May 12, 2025 11:59
@ningyuxin1999 ningyuxin1999 marked this pull request as ready for review June 2, 2025 13:32
@ningyuxin1999 ningyuxin1999 requested a review from mashehu June 2, 2025 14:53
@mashehu
Copy link
Contributor

mashehu commented Jun 3, 2025

@nf-core-bot changelog

@ewels ewels linked an issue Jun 3, 2025 that may be closed by this pull request
3 tasks
@ewels
Copy link
Member

ewels commented Jun 3, 2025

Comments from @mashehu :

  • Do we want to add grouping in the user interface at this stage, to avoid having a long list of options?
    • It's already grouped in the code.
  • Didn't see the GPU thing in the list? Features list?
  • All toggles are off, they should be on, also for nf-core (or decide what the default values should be)
    • Shouldn't be everything off by default, only gpu

Copy link
Member

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

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

Left some comments for tracking, I will tackle them 👍

Copy link

codecov bot commented Jun 26, 2025

Codecov Report

Attention: Patch coverage is 95.52239% with 3 lines in your changes missing coverage. Please review.

Project coverage is 76.77%. Comparing base (7e944da) to head (42b5524).
Report is 22 commits behind head on dev.

Files with missing lines Patch % Lines
nf_core/pipelines/create/__init__.py 0.00% 1 Missing ⚠️
nf_core/pipelines/create/custompipeline.py 90.90% 1 Missing ⚠️
nf_core/pipelines/lint/nf_test_content.py 96.42% 1 Missing ⚠️

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Member

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

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

Tests are fixed! 🥳
It would be good if someone else reviews it, since both @ningyuxin1999 and me made changes. Thanks!

ningyuxin1999 and others added 6 commits June 26, 2025 14:22
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
@ningyuxin1999
Copy link
Contributor Author

@nf-core-bot update snapshots

@ningyuxin1999
Copy link
Contributor Author

@nf-core-bot update snapshots

@ningyuxin1999 ningyuxin1999 enabled auto-merge (squash) June 30, 2025 11:49
@ningyuxin1999 ningyuxin1999 merged commit c18c21d into nf-core:dev Jun 30, 2025
98 checks passed
@ningyuxin1999 ningyuxin1999 deleted the optin branch June 30, 2025 12:13
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.

Add opt-in option to template features
5 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载