Skip to content

Commit c8b3479

Browse files
committed
RF: save a line :P
1 parent 25d5ba0 commit c8b3479

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nibabel/streamlines/tck.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ def save(self, fileobj):
220220
tractogram = self.tractogram.to_world(lazy=True)
221221

222222
for t in tractogram:
223-
s = t.streamline
224-
data = np.r_[s, self.FIBER_DELIMITER]
223+
data = np.r_[t.streamline, self.FIBER_DELIMITER]
225224
f.write(data.astype(dtype).tostring())
226225
nb_streamlines += 1
227226

0 commit comments

Comments
 (0)