Skip to content

Commit 0035495

Browse files
committed
Typos
1 parent 1812041 commit 0035495

File tree

1 file changed

+2
-39
lines changed

1 file changed

+2
-39
lines changed

nibabel/streamlines/tests/test_tck.py

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -24,57 +24,20 @@ def setup():
2424
global DATA
2525

2626
DATA['empty_tck_fname'] = pjoin(data_path, "empty.tck")
27-
# simple.trk contains only streamlines
27+
# simple.tck contains only streamlines
2828
DATA['simple_tck_fname'] = pjoin(data_path, "simple.tck")
2929
DATA['simple_tck_big_endian_fname'] = pjoin(data_path,
3030
"simple_big_endian.tck")
31-
# standard.trk contains only streamlines
31+
# standard.tck contains only streamlines
3232
DATA['standard_tck_fname'] = pjoin(data_path, "standard.tck")
33-
# complex.trk contains streamlines, scalars and properties
34-
# DATA['complex_tck_fname'] = pjoin(data_path, "complex.tck")
3533

3634
DATA['streamlines'] = [np.arange(1*3, dtype="f4").reshape((1, 3)),
3735
np.arange(2*3, dtype="f4").reshape((2, 3)),
3836
np.arange(5*3, dtype="f4").reshape((5, 3))]
3937

40-
# DATA['fa'] = [np.array([[0.2]], dtype="f4"),
41-
# np.array([[0.3],
42-
# [0.4]], dtype="f4"),
43-
# np.array([[0.5],
44-
# [0.6],
45-
# [0.6],
46-
# [0.7],
47-
# [0.8]], dtype="f4")]
48-
49-
# DATA['colors'] = [np.array([(1, 0, 0)]*1, dtype="f4"),
50-
# np.array([(0, 1, 0)]*2, dtype="f4"),
51-
# np.array([(0, 0, 1)]*5, dtype="f4")]
52-
53-
# DATA['mean_curvature'] = [np.array([1.11], dtype="f4"),
54-
# np.array([2.11], dtype="f4"),
55-
# np.array([3.11], dtype="f4")]
56-
57-
# DATA['mean_torsion'] = [np.array([1.22], dtype="f4"),
58-
# np.array([2.22], dtype="f4"),
59-
# np.array([3.22], dtype="f4")]
60-
61-
# DATA['mean_colors'] = [np.array([1, 0, 0], dtype="f4"),
62-
# np.array([0, 1, 0], dtype="f4"),
63-
# np.array([0, 0, 1], dtype="f4")]
64-
65-
# DATA['data_per_point'] = {'colors': DATA['colors'],
66-
# 'fa': DATA['fa']}
67-
# DATA['data_per_streamline'] = {'mean_curvature': DATA['mean_curvature'],
68-
# 'mean_torsion': DATA['mean_torsion'],
69-
# 'mean_colors': DATA['mean_colors']}
70-
7138
DATA['empty_tractogram'] = Tractogram(affine_to_rasmm=np.eye(4))
7239
DATA['simple_tractogram'] = Tractogram(DATA['streamlines'],
7340
affine_to_rasmm=np.eye(4))
74-
# DATA['complex_tractogram'] = Tractogram(DATA['streamlines'],
75-
# DATA['data_per_streamline'],
76-
# DATA['data_per_point'],
77-
# affine_to_rasmm=np.eye(4))
7841

7942

8043
class TestTCK(unittest.TestCase):

0 commit comments

Comments
 (0)