Skip to content

Commit

Permalink
Merge pull request #632 from nf-core/string_comp
Browse files Browse the repository at this point in the history
ensure string comparison
  • Loading branch information
jemten authored Oct 14, 2024
2 parents dbb3e8f + 82ccca8 commit f94e6e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subworkflows/local/gens.nf
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ workflow GENS {

COLLECTREADCOUNTS.out.hdf5
.branch { meta, counts ->
female: meta.sex.matches('2|other')
male: meta.sex.equals('1')
female: meta.sex.toString().matches('2|other|0')
male: meta.sex == 1
}
.set { ch_denoisereadcounts_in }

Expand Down

0 comments on commit f94e6e2

Please sign in to comment.