MODULES META.YML LINTING
# rants
s
MODULES META.YML LINTING
shakefist 2
I waste so much time on these files
m
because of topics?
s
That isn't helping
m
anything team infrastructure could do to ease the pain?
s
Topics are very annoying that you have to include the command that generates the topic
which is a PITA when there are any quote marks
nf-core modules lint --fix is almost never helpful for me
m
what if you just add it in the main.nf and run
nf-core m lint $module --fix
this should add them
ah, okay. also not with the latest dev version (from yesterday)?
s
haven't tried that
If there is an indentation wrong, it'll just give a useless error
I still don't see the point of having the command used in the meta.yml
m
so we can in theory go easily from meta.yml to main.nf and the other way around (for automation things)
s
The command doesn't help with that
m
> If there is an indentation wrong, it'll just give a useless error you mean the schema validation error? I could try to catch that one and guess what is going wrong
s
I'll try and give you some examples later, need to actually do some work now 😉
@mashehu, any idea on this one:
meta_yml_valid: The meta.yml of the module sentieon/bwamem is not valid: None is not of type 'object'. Check the entry for deque([0, '${task.process}']).
See: https://github.com/nf-core/modules/pull/9697/files