Repository navigation
fix(nfcore_build): align include order and use subworkflow input - #1010
Closed
FriederikeHanssen wants to merge 1 commit into
Closed
FriederikeHanssen wants to merge 1 commit into
FriederikeHanssen wants to merge 1 commit into
Conversation
Contributor
|
Nextflow linting complete! ❌ 1 files had 5 errors 💡 Tip: Click filename locations to go directly to that code. View all 32 issues
View formatting changes
|
5 tasks done
- 03: show FIND_CONCATENATE before cowpy/COWPY in workflows/hello.nf include blocks, matching 02 §1.5; update hl_lines accordingly. Apply the same order to solutions core-hello-part3/part4. - 01 §5.2, 04 §2.5 and solutions part1-4: read the samplesheet from the PIPELINE_INITIALISATION `input` take instead of params.input, which removes the "Parameter was not used" lint warning. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
FriederikeHanssen
force-pushed
the
fix/nfcore-build-demo-path
branch
from
October 13, 2026 13:21
6401d33 to
8c8facb
Compare
FriederikeHanssen
force-pushed
the
fix/nfcore-build-consistency
branch
from
October 13, 2026 13:21
f61535b to
a83eff6
Compare
Collaborator
|
Superseded by #1012. The include-order alignment is in. The |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two consistency fixes across the Hello nf-core course, found during the learner walkthrough.
Stacked on #1009 (→ #1008 → #1007 → #1006 → #1005). Review only the 1 commit in this PR.
Changes
1. Include order. Part 2 §1.5 replaces the
collectGreetingsinclude withFIND_CONCATENATEin place, soFIND_CONCATENATEcomes beforecowpy. Part 3's Before/After blocks listedcowpyfirst, so learners following Part 2 didn't match Part 3's "Before".FIND_CONCATENATEbeforecowpy/COWPY.hl_lines10 → 11, so it still highlights the cowpy line.solutions/core-hello-part{3,4}/workflows/hello.nf2. Use the subworkflow's
inputinstead ofparams.input. The nf-core template'sutils_nfcore_hello_pipeline/main.nfreceives the samplesheet path as atake:input (main.nfpassesparams.inputinto it) and uses it insamplesheetToList(input, …). The lesson told learners to useparams.inputdirectly. That leavestake: inputunused, andnextflow lintwarnsParameter was not usedin every solution.channel.fromPath(input). Prose: replaceparams.greetingwithinput. The note now explains whereinputcomes from.channel.fromPath(input). After:samplesheetToList(input, …). The explanation bullet matches.solutions/core-hello-part{1..4}/subworkflows/local/utils_nfcore_hello_pipeline/main.nfparams.input→inputTesting
-profile test,docker(Nextflow 26.04.4, v2 parser) and printPipeline completed successfullynextflow lint: theutils_nfcore_hello_pipeline/main.nf:33:5: Parameter was not usedwarning forinputis gone in all four solutions. The remainingmonochrome_logswarning comes from the template and is unchanged./check-highlightson all changed blocks, check_headings and pre-commit passnfcore_buildsolutions run andnf-core pipelines schema lintpasses on part4🤖 Generated with Claude Code