These two lines in my workflow are being flagged b...
# linting
e
These two lines in my workflow are being flagged by the VSCode language extension:
Copy code
include { paramsSummaryMultiqc   } from '../subworkflows/nf-core/utils_nfcore_pipeline'
include { softwareVersionsToYAML } from '../subworkflows/nf-core/utils_nfcore_pipeline'
Copy code
Module could not be parsed: 'file:///home/...../subworkflows/nf-core/utils_nfcore_pipeline/main.nf'
(path omitted) Any idea why? Happens to others?
s
any issues with
subworkflows/nf-core/utils_nfcore_pipeline
? check the include of that subworkflow too
p
Yes that error doesn't tell you anything except where to look next
Make sure you update to the latest version of the template and sub workflow if you can. We have fixed a lot of these errors recently.
e
No, everything seemed to be fine. I keep seeing these errors in different pipelines as well (mag, funcscan). I'll update the template and will let you know
p
And the subworkflow in this case as that's where the error is (should be simple to update that)
➕ 1
e
Already updated those. There is no error, everything executes fine. Just being marked red from the plugin
s
u have this on a branch u can share ?
e
s
nf-core subworkflows update
fixes it
➕ 1
e
And it did...thanks @Sateesh_Peri. You were right @Phil Ewels, I updated those recently but it seems there was a more recent update again.
p
Great stuff 👍🏻
There's at least one more fix that I know of in the template too (a
def
in the config) that will be fixed in a template update, released this week hopefully.