-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix strict syntax in utils_* subworkflows #12329
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
base: master
Are you sure you want to change the base?
Changes from all commits
253c4f8
e96cef9
dceaa3f
4af82ae
c9ef49c
a031940
fd53495
09b8335
2d54e53
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,7 +40,7 @@ workflow UTILS_NEXTFLOW_PIPELINE { | |
| } | ||
|
|
||
| emit: | ||
| dummy_emit = true | ||
| true | ||
| } | ||
|
|
||
| /* | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ workflow UTILS_NFCORE_PIPELINE { | |
| checkProfileProvided(nextflow_cli_args) | ||
|
|
||
| emit: | ||
| valid_config = valid_config | ||
| valid_config | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought we needed this for strict syntax a3fb735
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can't find the documentation for this, but
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but in the current way i get the following with nextflow 26.04.4: that's why I had the previous version
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I must have tested with a wrong version, with 26.04.4 it indeed returns these warnings. According to the docs the version without the extra name is correct. I am puzzled as to how I should write the emit section to avoid complaints from the language server. |
||
| } | ||
|
|
||
| /* | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,5 +73,5 @@ workflow UTILS_NFSCHEMA_PLUGIN { | |
| } | ||
|
|
||
| emit: | ||
| dummy_emit = true | ||
| true | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.