Skip to content
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

migrate to nf-schema #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

alvaromartmart
Copy link
Member

Quick run of https://nextflow-io.github.io/nf-schema/latest/migration_guide to migrate this example schema.

@alvaromartmart alvaromartmart requested a review from ewels July 1, 2024 12:40
// TODO: OPTIONAL, you can use nf-validation plugin to create an input channel from the samplesheet with Channel.fromSamplesheet("input")
// See the documentation https://nextflow-io.github.io/nf-validation/samplesheets/fromSamplesheet/
// TODO: OPTIONAL, you can use nf-schema plugin to create an input channel from the samplesheet with Channel.fromSamplesheet("input")
// See the documentation https://nextflow-io.github.io/nf-schema/samplesheets/fromSamplesheet/
Copy link
Member Author

Choose a reason for hiding this comment

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

@ewels this link is no longer valid, not sure if this is something to be consider either in templates potentially including this comment, or in the automatic migration command suggested by https://nextflow-io.github.io/nf-schema/latest/migration_guide/#updating-the-name-and-version-of-the-plugin, or whether an equivalent samplesheet should be served from the updated location

Copy link
Member

Choose a reason for hiding this comment

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

@@ -4,7 +4,7 @@
"title": "nf-core/test pipeline parameters",
"description": "testing",
"type": "object",
"defs": {
"$defs": {
Copy link
Member Author

Choose a reason for hiding this comment

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

if $defs is correct, something's wrong with the migration guide cc @ewels

Copy link
Member Author

Choose a reason for hiding this comment

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

yup: the replacement in the automatic migration script uses $defs, not defs

Screenshot 2024-07-10 at 09 18 37

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