I just tried to run `nf-core modules update` on <#...
# tools
p
I just tried to run
nf-core modules update
on #scnanoseq (
master
) and got a loooong traceback that ended up with:
Copy code
AssertionError: Config file '.nf-core.yml' is invalid
lint: Input should be a valid boolean
input: ['README.md', 'main.nf']
@Júlia Mir - is this from your recent Pydantic stuff with the config file? Please could we: • Capture the traceback and print the error nicely • Maybe try to make the error message more actionable - looking at the .nf-core.yml it's pretty unclear to me what to do. I guess it's related to
pipeline_todos
? Could we print the key that throws the error, and ideally even link to the lint error docs?
j
we added this pydantic model some time ago
yes I agree the error is not very useful
in this case it's because
pipeline_todos
can only be set to
false
. To ignore particular files you can add them to
.gitignore
p
Yup, and the pipeline doesn't have any
TODO
statements in those files anyway, so I just deleted that section 😅
It was mostly the huge traceback that made me assume that #tools itself had broken, rather than there being a problem with the pipeline
👍🏻 1
And then printing the key would be nice, as I had to figure that out by looking at the
input
(might not be as easy with other errors)
👌🏻 1