Skip to content

Commit f4f6cc0

Browse files
committed
Merge pull request #1476 from BRAINSia/add_options
ENH Adds "to_scanner" and "to_tkr" features to mris_convert
2 parents fbeba07 + af8a905 commit f4f6cc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nipype/interfaces/freesurfer/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,10 @@ class MRIsConvertInputSpec(FSTraitedSpec):
855855
xor=['out_file'], mandatory=True,
856856
desc="These file formats are supported: ASCII: .asc"
857857
"ICO: .ico, .tri GEO: .geo STL: .stl VTK: .vtk GIFTI: .gii MGH surface-encoded 'volume': .mgh, .mgz")
858+
to_scanner = traits.Bool(argstr="--to-scanner",
859+
desc="convert coordinates from native FS (tkr) coords to scanner coords")
860+
to_tkr = traits.Bool(agrstr="--to-tkr",
861+
desc="convert coordinates from scanner coords to native FS (tkr) coords")
858862

859863

860864
class MRIsConvertOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)