diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d45d8e28..bb4155168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ Special thanks to the following for their contributions to the release: - [PR #1398](https://github.com/nf-core/rnaseq/pull/1398) - Bump pipeline version to 3.17.0dev - [PR #1401](https://github.com/nf-core/rnaseq/pull/1401) - Template update for nf-core/tools v3.0.1 +- [PR #1405](https://github.com/nf-core/rnaseq/pull/1405) - Fix bad variable name in subworkflow ### Parameters diff --git a/modules.json b/modules.json index 2e8042220..ffcdcaf40 100644 --- a/modules.json +++ b/modules.json @@ -337,7 +337,7 @@ }, "fastq_qc_trim_filter_setstrandedness": { "branch": "master", - "git_sha": "ee3b8b84da02320fff5f3f2dc1d6f9b72d7cd5af", + "git_sha": "aef0e7467478130e861365232c3c4cc3247938ec", "installed_by": ["subworkflows"] }, "fastq_subsample_fq_salmon": { diff --git a/subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf b/subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf index 4ed073efc..c655af415 100644 --- a/subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf +++ b/subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf @@ -20,7 +20,7 @@ def calculateStrandedness(forwardFragments, reverseFragments, unstrandedFragment def totalFragments = forwardFragments + reverseFragments + unstrandedFragments def totalStrandedFragments = forwardFragments + reverseFragments - def library_strandedness = 'undetermined' + def strandedness = 'undetermined' if (totalStrandedFragments > 0) { def forwardProportion = forwardFragments / (totalStrandedFragments as double) def reverseProportion = reverseFragments / (totalStrandedFragments as double)