8000 add records and types to templates and meta.yml generator by mashehu · Pull Request #4602 · nf-core/tools · GitHub
[go: up one dir, main page]

Skip to content

add records and types to templates and meta.yml generator - #4602

Draft
mashehu wants to merge 1 commit into
devfrom
record-template
Draft

mashehu wants to merge 1 commit into
devfrom
record-template

Conversation

@mashehu
@mashehu mashehu commented Nov 9, 2026
Copy link
Copy Markdown
Member

No description provided.

@codecov
codecov Bot commented Nov 9, 2026 •
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 40.35088% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.54%. Comparing base (cda9d01) to head (903444e).

Files with missing lines Patch % Lines
nf_core/components/create.py 39.28% 34 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.

Comment thread nf_core/__main__.py
default=False,
help="Create a module from the template without TODOs or examples",
)
@click.option(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If records is going to be the norm, shouldn't the current way be the opt in with a flag?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is just for now until the release (because we recommend module developers to use the dev version of tools).

Comment thread nf_core/__main__.py
Comment on lines 1223 to 1236
@click.option(
"-m",
"--meta",
is_flag=True,
default=False,
help="Use Groovy meta map for sample information",
)
@click.option(
"-n",
"--no-meta",
is_flag=True,
default=False,
help="Don't use meta map for sample information",
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What happens with these flags when --with-records is set?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good point.

This branch has not been deployed

No deployments
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

0