We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe78b60 commit ad30f0eCopy full SHA for ad30f0e
nibabel/tests/data/gen_standard.py
@@ -45,7 +45,7 @@ def _gen_straight_streamline(start, end, steps=3):
45
# Get the coordinates of voxels 'on' in the mask.
46
coords = np.array(zip(*np.where(mask)))
47
48
- streamlines = [(line + c) * voxel_size for line in X for c in coords]
+ streamlines = [(line + c) * voxel_size for c in coords for line in X]
49
50
return streamlines
51
0 commit comments