hi everyone, i am running nf-core lint and getting...
# tools
a
hi everyone, i am running nf-core lint and getting the following error:
Copy code
modules_json: Your modules.json file is outdated. It will be automatically generated by running any module command.
i have tried running
nf-core modules patch
on a module, as well as
nf-core pipelines lint --dir . --fix files_unchanged
, not sure how else to fix it. the output of the command does not provide much more information. my nf-core tools version is 3.2.0, but my pipeline template version is 3.1.1
updating the template did not make any meaningful changes to the modules.json
j
can you try running nf-core modules update?
if this doesn't solve it, can you send a link to your modules.json file so I can have a look? thanks
a
is the error coming from modules that are out of date? because i don't necessarily want to update my modules unless i have a specific reason
j
no, it is complaining about the structure of the file itself
you can run
nf-core moduels update
and select to only see the differences, that way it won't change any of your modules
but it should also call a funcion which checks the structure of the json file
a
ok i will do that. thank you!
it wasn't working but i did find the reason, looks like one of my modules git addresses started with "git@github.com" which flags a failure https://github.com/nf-core/tools/blob/52e810986e382972ffad0aab28e94f828ffd509b/nf_core/pipelines/lint/modules_json.py#L30
🙌🏻 1