Skip to content

Commit c7824a3

Browse files
authored
Merge pull request #3485 from LostBenjamin/patch-1
Fix a bug about wrong order of function arguments
2 parents 611b903 + 6aafc5b commit c7824a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/fsl/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,7 +2584,7 @@ def _trk_to_coords(self, in_file, out_file=None):
25842584
if out_file is None:
25852585
out_file, _ = op.splitext(in_file)
25862586

2587-
np.savetxt(streamlines, out_file + ".txt")
2587+
np.savetxt(out_file + ".txt", streamlines)
25882588
return out_file + ".txt"
25892589

25902590
def _coords_to_trk(self, points, out_file):

0 commit comments

Comments
 (0)