Skip to content

Commit

Permalink
Hack to avoid crashing on single point centroids
Browse files Browse the repository at this point in the history
  • Loading branch information
frheault committed Dec 6, 2022
1 parent 36e43ee commit 2ae57e2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,11 @@ process Resample_Centroid {
fi
bname=\${bname/_centroid/}
bname=\${bname/_ic/}
scil_resample_streamlines.py \$bundle \
# TODO: Remove at next release
echo \$(scil_resample_streamlines.py \$bundle \
"${sid}__\${bname}_centroid_${params.nb_points}.trk" \
--nb_pts_per_streamline $params.nb_points -f
--nb_pts_per_streamline $params.nb_points -f)
done
"""
}
Expand Down

0 comments on commit 2ae57e2

Please sign in to comment.