Skip to content

Commit ad30f0e

Browse files
Update nibabel/tests/data/gen_standard.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent fe78b60 commit ad30f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/tests/data/gen_standard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _gen_straight_streamline(start, end, steps=3):
4545
# Get the coordinates of voxels 'on' in the mask.
4646
coords = np.array(zip(*np.where(mask)))
4747

48-
streamlines = [(line + c) * voxel_size for line in X for c in coords]
48+
streamlines = [(line + c) * voxel_size for c in coords for line in X]
4949

5050
return streamlines
5151

0 commit comments

Comments
 (0)