If a module installed from a custom repository contains a patch, nf-core lint fails with the error ValueError: 'modules/nf-core-test/bwa/mem/main.nf' does not start with 'modules/nf-core/bwa/mem'
To reproduce this error, the following can be done. In a pipeline created using the nf-core template:
Description of the bug
If a module installed from a custom repository contains a patch,
nf-core lint
fails with the errorValueError: 'modules/nf-core-test/bwa/mem/main.nf' does not start with 'modules/nf-core/bwa/mem'
To reproduce this error, the following can be done. In a pipeline created using the nf-core template:
bwa/mem
usingnf-core modules --branch nf-test-tests --git-remote https://gitlab.com/nf-core/modules-test.git install bwa/mem
nf-core modules --branch nf-test-tests --git-remote https://gitlab.com/nf-core/modules-test.git patch bwa/mem
nf-core lint
Command used and terminal output
System information
23.10.0.5889
Amazon Linux 2023
2.11.1
Python 3.8.18