Skip to content

Commit

Permalink
Add dummy for aa
Browse files Browse the repository at this point in the history
  • Loading branch information
jfy133 committed Feb 6, 2025
1 parent 10c1190 commit 2f5f0c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions subworkflows/local/utils_nfcore_createtaxdb_pipeline/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,15 @@ workflow PIPELINE_INITIALISATION {
.dump(tag: 'post_collect')
.map { fasta_dna ->
if (fasta_dna.size() > fasta_dna.sort().unique().size()) {
// NOT WORKING - rREPORTING FALSE
def notunique = fasta_dna.toList().any { !fasta_dna.toList().sort().unique().contains(it) }
error("[nf-core/createtaxdb] ERROR: All filenames after decompressing must be unique! Check ${notunique}")
}
}

// Validate we have unique file names for AA FASTAs
println('TODO')

emit:
samplesheet = ch_samplesheet
versions = ch_versions
Expand Down

0 comments on commit 2f5f0c1

Please sign in to comment.