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

Components: allow spaces at the betinning of include statements #3115

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

mirpedrol
Copy link
Member

Changing match to search will look for the component name even if the include keyword is not at the beginning of the line. This is to allow spaces for cases such as the following, where we have indentation.

if ( params.aligner == "clustalo/align" ) {
    include { CLUSTALO_ALIGN as ALIGNER } from '../../../modules/mirpedrol/clustalo/align/main'
} else if ( params.aligner == "famsa/align" ) {
    include { FAMSA_ALIGN    as ALIGNER } from '../../../modules/mirpedrol/famsa/align/main'
}

@mirpedrol mirpedrol merged commit 2aa8b55 into nf-core:dev Aug 14, 2024
62 checks passed
@mirpedrol mirpedrol deleted the include-spaces branch August 14, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants