Skip to content

Commit 9c80edc

Browse files
committed
Merge remote-tracking branch 'upstream/master' into rel/2.3.0
2 parents b0f2c1f + 41e126a commit 9c80edc

19 files changed

+1791
-12
lines changed

Changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Upcoming Release
3030
New features
3131
------------
3232
* TRK <=> TCK streamlines conversion CLI tools (pr/606) (MC, reviewed by CM)
33+
* Image slicing for SpatialImages (pr/550) (CM)
3334

3435
Enhancements
3536
------------

bin/nib-tck2trk

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!python
2+
# emacs: -*- mode: python-mode; py-indent-offset: 4; indent-tabs-mode: nil -*-
3+
# vi: set ft=python sts=4 ts=4 sw=4 et:
4+
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
5+
#
6+
# See COPYING file distributed along with the NiBabel package for the
7+
# copyright and license terms.
8+
#
9+
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
10+
"""
11+
Convert tractograms (TCK -> TRK).
12+
"""
13+
14+
from nibabel.cmdline.tck2trk import main
15+
16+
17+
if __name__ == '__main__':
18+
main()

bin/nib-trk2tck

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!python
2+
# emacs: -*- mode: python-mode; py-indent-offset: 4; indent-tabs-mode: nil -*-
3+
# vi: set ft=python sts=4 ts=4 sw=4 et:
4+
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
5+
#
6+
# See COPYING file distributed along with the NiBabel package for the
7+
# copyright and license terms.
8+
#
9+
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
10+
"""
11+
Convert tractograms (TRK -> TCK).
12+
"""
13+
14+
from nibabel.cmdline.trk2tck import main
15+
16+
17+
if __name__ == '__main__':
18+
main()

0 commit comments

Comments
 (0)