Skip to content

Commit

Permalink
fix: always use list of files
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed Nov 4, 2024
1 parent 3f70c96 commit ab5735a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/nf-core/krakenuniq/preloadedkrakenuniq/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ process KRAKENUNIQ_PRELOADEDKRAKENUNIQ {

script:
assert sequence_type in ['fasta', 'fastq']
sequences = sequences instanceof List ? sequences : [sequences]

def args = task.ext.args ?: ''
def args2 = task.ext.args ?: ''
Expand Down Expand Up @@ -117,6 +118,7 @@ process KRAKENUNIQ_PRELOADEDKRAKENUNIQ {

stub:
assert sequence_type in ['fasta', 'fastq']
sequences = sequences instanceof List ? sequences : [sequences]

def args = task.ext.args ?: ''
def args2 = task.ext.args ?: ''
Expand Down

0 comments on commit ab5735a

Please sign in to comment.