Skip to content

Commit

Permalink
Set the positions to an empty list when no file provided.
Browse files Browse the repository at this point in the history
  • Loading branch information
gq1 committed Nov 8, 2023
1 parent 1feb4d8 commit 3de0d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/variantcalling.nf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if ( (params.include_positions) && (params.exclude_positions) ){
} else if (params.exclude_positions){
ch_positions = Channel.fromPath(params.exclude_positions)
} else {
ch_positions = Channel.empty()
ch_positions = []
}

/*
Expand Down

0 comments on commit 3de0d8a

Please sign in to comment.