also getting this warning: ```Using `paramsHelp()...
# nf-schema
r
also getting this warning:
Copy code
Using `paramsHelp()` is not recommended. Check out the help message migration guide: <url>
I think the url is missing that I should check?
👀 1
n
Ah crap I forgot to add it 😁
It basically means that you can remove the
paramsHelp()
function from your code and use the config options instead
This should be the url!
It will be fixed in the upcoming patch release 😛
🚀 1
r
Copy code
validation {
    failUnrecognisedParams = false
    lenientMode            = true
    defaultIgnoreParams    = [ 'cf_ploidy', 'genomes', 'igenomes_base', 'snpeff_db', 'test_data', 'vep_cache_version' ]
    showHiddenParams       = false
    help {
        enabled: true
        command: "nextflow run nf-core/sarek --input input_file.csv --outdir results"
    }
}
gives me: `ERROR ~ Unknown config attribute
<http://validation.help|validation.help>
-- check config file: /workspace/nf-core_sarek/nextflow.config` 🆘
n
You should use
=
instead of
:
in the config 😛
(I know it's wrong in the docs, this should also be fixed in that patch release 😛)
r
😄
n
Nothing ever goes right in the first try 😁
r
sorry for finding the only two things that are not working right away 😄 Is the migration guide relatively up to date? I am test running it with sarek now.
n
Thanks for reporting them! They shouldn't have been there 😁
The migration guide is fully up to date and I'm intended to keep it that way for the next couple of releases 😛
party parrot 1
(at least until most people have migrated)
r
showHiddenParams       = true
shouldn't this show the hidden parameters without
--showHidden
?
n
Yeah it should!
Another bug? 😁
r

https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExaGlkZGN6cWN4em5uaHR1MTNjc3ZveXkxM2R2b[…]lcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/w1ctUhPvbyX8A/giphy.gif▾

n
https://nextflow-io.github.io/nf-schema/latest/configuration/configuration/#help Can you try the new option for that? showHiddenParams is deprecated 😛
Not at my pc right now
r
🤣 ok
n
So validation.help.showHidden 😛
r
that works
n
Okay cool! Can you open an issue about the old option? So I don't forget to fix it 😁
Thank you for trying it out 🎉
r
yes defaultIgnore also seems to be superseded by
ignoreParams
ah no there are two?
n
What do you mean?
r
defaultIgnoreParams
and
ignoreParams
n
Hmmm they should be merged 🤔
r
the
before
and
after
for the
help
section are great. we should put the nf-core logo there and put a link: if you need further assistance visit the nf-core slack or reachout on github
n
I gotta go now but please keep reporting all your issues, I'll address them next week
salute 1
I added that to the template in the nf-schema support branch 😉
amaze 1
r
enjoy your weekend
n
Thank you! You too 😛