Skip to content

Commit

Permalink
Update scilpy/tracking/tools.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Valcourt Caron <[email protected]>
  • Loading branch information
arnaudbore and AlexVCaron authored Jul 9, 2021
1 parent 2cc1742 commit 2da4cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scilpy/tracking/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def filter_streamlines_by_length(sft, min_length=0., max_length=np.inf):
filter_stream = []

filtered_streamlines = list(np.asarray(sft.streamlines,
dtype=float)[filter_stream])
dtype=object)[filter_stream])
filtered_data_per_point = sft.data_per_point[filter_stream]
filtered_data_per_streamline = sft.data_per_streamline[filter_stream]

Expand Down

0 comments on commit 2da4cb5

Please sign in to comment.