@@ -2857,20 +2857,21 @@ class Text2VestInputSpec(FSLCommandInputSpec):
2857
2857
2858
2858
2859
2859
class 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" )
2861
2861
2862
2862
2863
2863
class Text2Vest (FSLCommand ):
2864
2864
"""
2865
2865
Use FSL Text2Vest`https://web.mit.edu/fsl_v5.0.10/fsl/doc/wiki/GLM(2f)CreatingDesignMatricesByHand.html`_
2866
2866
to convert your plain text design matrix data into the format used by the FSL tools.
2867
+
2867
2868
Examples
2868
2869
--------
2869
2870
>>> from nipype.interfaces.fsl import Text2Vest
2870
2871
>>> t2v = Text2Vest()
2871
2872
>>> t2v.inputs.in_file = "design.txt"
2872
2873
>>> t2v.inputs.out_file = "design.mat"
2873
- >>> t2v.cmdline # doctest: +ELLIPSIS
2874
+ >>> t2v.cmdline
2874
2875
'Text2Vest design.txt design.mat'
2875
2876
>>> res = t2v.run() # doctest: +SKIP
2876
2877
"""
@@ -2891,28 +2892,29 @@ class Vest2TextInputSpec(FSLCommandInputSpec):
2891
2892
)
2892
2893
2893
2894
out_file = File (
2894
- mandatory = True ,
2895
+ "design.txt" ,
2896
+ usedefault = True ,
2895
2897
desc = "file name to store text output from matrix" ,
2896
2898
argstr = "%s" ,
2897
2899
position = 1 ,
2898
2900
)
2899
2901
2900
2902
2901
2903
class 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" )
2903
2905
2904
2906
2905
2907
class Vest2Text (FSLCommand ):
2906
2908
"""
2907
2909
Use FSL Vest2Text`https://web.mit.edu/fsl_v5.0.10/fsl/doc/wiki/GLM(2f)CreatingDesignMatricesByHand.html`_
2908
2910
to convert your design.mat design.con and design.fts files into plain text.
2911
+
2909
2912
Examples
2910
2913
--------
2911
2914
>>> from nipype.interfaces.fsl import Vest2Text
2912
2915
>>> v2t = Vest2Text()
2913
2916
>>> v2t.inputs.in_file = "design.mat"
2914
- >>> v2t.inputs.out_file = "design.txt"
2915
- >>> v2t.cmdline # doctest: +ELLIPSIS
2917
+ >>> v2t.cmdline
2916
2918
'Vest2Text design.mat design.txt'
2917
2919
>>> res = v2t.run() # doctest: +SKIP
2918
2920
"""
0 commit comments