Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to skip version check for specified include elements. #2889

Open
TCLamnidis opened this issue Mar 20, 2024 · 0 comments
Open

Comments

@TCLamnidis
Copy link

Description of feature

The latest template removed the libs directory, and moved any pipeline-specific functions into subworkflows/local/utils_nfcore_eager_pipeline/main (example from eager).
Now, we include these in the include block in each subworkflow:

include { addNewMetaFromAttributes } from '../../subworkflows/local/utils_nfcore_eager_pipeline/main'

When linting with nf-core lint we get the following warning:
Included component 'addNewMetaFromAttributes' versions are not added in main.nf

It would be great to include a way to ignore specific includes when checking for versions during linting.
Given that some functions are imported in every local subworkflow, we end up with this warning showing up multiple times. I’m worried important warnings will end up lost in the sea of these warnings otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant