Skip to content

Commit

Permalink
replace null value for empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
gagnonanthony committed Oct 15, 2024
1 parent fdf5c13 commit f8c02ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tracking/workflows/preprocessing.nf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ workflow DWI {
if ( params.weights ) {
weights_ch = Channel.fromPath(params.weights)
} else {
weights_ch = null
weights_ch = []
}
synthstrip_channel = EDDY_TOPUP.out.dwi_bval_bvec
.map{ [it[0], it[1], it[2]] }
Expand Down

0 comments on commit f8c02ea

Please sign in to comment.