-
Notifications
You must be signed in to change notification settings - Fork 190
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
Faulty test command generated by create-test-yaml
#1562
Comments
Appears like we need to update this line to reflect what we have in the module: tools/nf_core/modules/test_yml_builder.py Line 168 in e0d00d3
Not sure whether this happens when you have single/multiple tests to run. |
- command: nextflow run tests/modules/bowtie2/align -entry test_bowtie2_align_single_end -c tests/config/nextflow.config
+ command: nextflow run ./tests/modules/bowtie2/align -entry test_bowtie2_align_single_end -c ./tests/config/nextflow.config -c ./tests/modules/bowtie2/align/nextflow.config ok so we're missing a
I think you have to customise it with the CLI interactive prompt instead of using the default value in the code. Not sure what else we can do here. |
|
Actually, I've never had any issue. Like you said, the config is loaded automatically. |
I think that the main reason was that the module-template should match the default command. I've put a draft PR together in #1568 where I (a) add the Not sure if this change will mean widespread changes are needed across nf-core/modules? 🤔 I think it's best to keep the commands as short as possible though. |
There were issues but I can't remember now. Either way it would be good to be consistent with the syntax and for it to match the module template in tools because it makes it easier to update 100's of modules if everything looks the same. Had to do this before and it's not nice having to manually update things for consistency. Maybe let's keep it as it is for now and we can deal with it later if required all in one go. |
You mean keep the explicit Did we ever discuss a |
Avoid needing to change loads of module files due to the template update. See nf-core#1562 (comment)
Added back in d61a51d |
* test(align_bowtie2): Add tags * test(bam_sort_samtools): Add tags * test(homer_groseq): Add tags * test(subworkflows): Update tags for annotation/ensemblevep * test(subworkflows): Add tags to snpeff * test(subworkflows): Add bam_qc_picard tags * style(subworkflows): Sort by name * test(subworkflows): Add tags to fgbio_create_umi_consensus * test(subworkflows): Add tags for gatk_create_som_pon * test(subworkflows): Add tags for gatk_tumor_normal_somatic_variant_calling * test(subworkflows): Add tags for gatk_tumor_only_somatic_variant_calling * test(subworkflows): Add tags for srafastq * test(subworkflows): Remove subworkflow specific config nf-core/tools#1562 Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
Description of the bug
@drpatelh
First mentioned in nf-core/modules#1645 (comment)
generates:
should be:
Command used and terminal output
nf-core modules create-test-yml -f -p bowtie2/align
System information
nf-core v2.3.2
The text was updated successfully, but these errors were encountered: