@@ -2857,20 +2857,21 @@ class Text2VestInputSpec(FSLCommandInputSpec):
28572857
28582858
28592859class Text2VestOutputSpec (TraitedSpec ):
2860- out_file = File (exists = True , desc = "matrix data in the format used by FSL tools" )
2860+ out_file = File (desc = "matrix data in the format used by FSL tools" )
28612861
28622862
28632863class Text2Vest (FSLCommand ):
28642864 """
28652865 Use FSL Text2Vest`https://web.mit.edu/fsl_v5.0.10/fsl/doc/wiki/GLM(2f)CreatingDesignMatricesByHand.html`_
28662866 to convert your plain text design matrix data into the format used by the FSL tools.
2867+
28672868 Examples
28682869 --------
28692870 >>> from nipype.interfaces.fsl import Text2Vest
28702871 >>> t2v = Text2Vest()
28712872 >>> t2v.inputs.in_file = "design.txt"
28722873 >>> t2v.inputs.out_file = "design.mat"
2873- >>> t2v.cmdline # doctest: +ELLIPSIS
2874+ >>> t2v.cmdline
28742875 'Text2Vest design.txt design.mat'
28752876 >>> res = t2v.run() # doctest: +SKIP
28762877 """
@@ -2891,28 +2892,29 @@ class Vest2TextInputSpec(FSLCommandInputSpec):
28912892 )
28922893
28932894 out_file = File (
2894- mandatory = True ,
2895+ "design.txt" ,
2896+ usedefault = True ,
28952897 desc = "file name to store text output from matrix" ,
28962898 argstr = "%s" ,
28972899 position = 1 ,
28982900 )
28992901
29002902
29012903class Vest2TextOutputSpec (TraitedSpec ):
2902- out_file = File (exists = True , desc = "plain text representation of FSL matrix" )
2904+ out_file = File (desc = "plain text representation of FSL matrix" )
29032905
29042906
29052907class Vest2Text (FSLCommand ):
29062908 """
29072909 Use FSL Vest2Text`https://web.mit.edu/fsl_v5.0.10/fsl/doc/wiki/GLM(2f)CreatingDesignMatricesByHand.html`_
29082910 to convert your design.mat design.con and design.fts files into plain text.
2911+
29092912 Examples
29102913 --------
29112914 >>> from nipype.interfaces.fsl import Vest2Text
29122915 >>> v2t = Vest2Text()
29132916 >>> v2t.inputs.in_file = "design.mat"
2914- >>> v2t.inputs.out_file = "design.txt"
2915- >>> v2t.cmdline # doctest: +ELLIPSIS
2917+ >>> v2t.cmdline
29162918 'Vest2Text design.mat design.txt'
29172919 >>> res = v2t.run() # doctest: +SKIP
29182920 """
0 commit comments