Is there a way to disable subworkflow linting as l...
# linting
m
Is there a way to disable subworkflow linting as long as
nf-core subworkflows patch
isn’t in place?
m
m
Ah yes, I should RTFM
m
well, it isn’t (yet) mentioned in the subworkflow linting docs, so not so easy to discover (feel free to change that 😉)
😅 1
m
So it should be:
Copy code
files_unchanged:
  - subworkflows/nf-core/fastq_align_dna/main.nf
?
m
nope, use the name of the lint test and set it to false (files_unchaged is a specific lint test)
we can’t do per component lint setting for now…
m
Ok, I’m reading the manual, but I can’t find the correct test name .... 🫠
Oh,nvm
m
they should be printed in the log
m
it’s `subworkflow_changes``
👍🏻 1
m
Yep, I was looking there
Thanks for putting up with stupid questions!
m
(somebody is actually looking at these new pages 🤯 😜)
no worries, as I said our documentation is lacking, therefore this questions are totally understandable
m
I wouldn't say lacking, but the new pages could perhaps do with some better visibility
m
if you click on the names in the terminal logs you (should 🤞🏻) get forwarded to them
m
Well I'll be 🤯
Doesn't work for the subworkflow error though
No specific test name and no link
Unless I'm missing something
m
Hmm, okay, that might be only for pipeline linting then
m
so this is not working?
m
Which part exactly?
m
meh, too late
🤷🏻 1
basically
nf-core lint
started failing for me because of the
samtools/sort
modules update and saying that the subworkflows was not the same locally as the one in remote
m
Did you update the subworkflows too?
m
I had too
actually I was working on something totally different, and suddenly
nf-core lint
started failing due to the subworkflows
so I had to update the subworkflow, which updated the module
m
Thats weird 😕
m
yeah
m
I didn’t touch any sarek, I promise
m
that was #CE8SSJV3N
m
Didn’t touch that either!
n
I had this subworkflow error too. I did change it and want to keep it like that. Is there a way to ignore a specific subworkflow test? I could not find anything in the docs. Also, I am not sure how the inequality is determined. It does not seem to be the nf-tests being run (I updated the snapshot for that subworkflow, nf-test passed, but
nf-core lint
still threw the subworkflow test fail..