Skip to content

Commit 1bfe8d8

Browse files
committed
Bugfix: close malformed ::group:: tags.
1 parent 30885ec commit 1bfe8d8

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

modules/local/input_validation/input_validation_vcf.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ process INPUT_VALIDATION_VCF {
2828
for vcf in $vcf_files; do
2929
# Attempt to create the index using tabix
3030
if ! output=\$(tabix -p vcf "\$vcf" 2>&1); then
31-
echo ::group type=error
31+
echo ::group type=error::
3232
echo "The provided VCF file is malformed."
3333
echo "Error: \$output"
3434
echo ::endgroup::

modules/local/quality_control/quality_control_vcf.nf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import groovy.json.JsonOutput
22

33
process QUALITY_CONTROL_VCF {
4-
4+
55
label 'preprocessing'
66
publishDir params.output, mode: 'copy', pattern: "qc_report.txt"
77
publishDir params.output, mode: 'copy', pattern: "${statisticsDir}/*.txt"
@@ -40,14 +40,14 @@ process QUALITY_CONTROL_VCF {
4040
for vcf in $vcf_files; do
4141
# Attempt to create the index using tabix
4242
if ! output=\$(tabix -p vcf "\$vcf" 2>&1); then
43-
echo ::group type=error
43+
echo ::group type=error::
4444
echo "The provided VCF file is malformed."
4545
echo "Error: \$output"
4646
echo ::endgroup::
4747
exit 1
4848
fi
4949
done
50-
50+
5151
# TODO: create directories in java
5252
mkdir ${chunksDir}
5353
mkdir ${metaFilesDir}
@@ -68,7 +68,7 @@ process QUALITY_CONTROL_VCF {
6868
--report qc_report.txt \
6969
--no-index \
7070
$chain \
71-
$vcf_files
71+
$vcf_files
7272
7373
exit_code_a=\$?
7474
@@ -78,7 +78,7 @@ process QUALITY_CONTROL_VCF {
7878
fi
7979
8080
cat qc_report.txt
81-
81+
8282
# Always exit 0 that QC files get published
8383
exit 0
8484
"""

0 commit comments

Comments
 (0)