Skip to content

Commit

Permalink
improve mutect2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed Oct 11, 2024
1 parent a8ab882 commit da49c80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 325 deletions.
3 changes: 3 additions & 0 deletions tests/.nftignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
gatk4/*.{vcf.gz,vcf.gz.tbi}
gatk4/test/*
gatk4/test/**
multiqc/multiqc_data/multiqc.log
multiqc/multiqc_data/multiqc_data.json
multiqc/multiqc_data/multiqc_general_stats.txt
Expand Down
2 changes: 1 addition & 1 deletion tests/mutect2.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ nextflow_pipeline {

then {
// stable_name: All files + folders in ${params.outdir}/ with a stable name
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}', 'gatk4/test/**/*'])
// stable_path: All files in ${params.outdir}/ with stable content
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
assertAll(
Expand Down
Loading

0 comments on commit da49c80

Please sign in to comment.