@@ -39,7 +39,7 @@ above example we have used the ``desc`` metadata which holds human readable
3939description of the input. The ``mandatory `` flag forces Nipype to throw an
4040exception if the input was not set. ``exists `` is a special flag that works only
4141for ``File traits `` and checks if the provided file exists. More details can be
42- found at `interface_specs `_ .
42+ found at :ref: `interface_specs `.
4343
4444The input and output specifications have to be connected to the our example
4545interface class:
@@ -80,7 +80,7 @@ symbols. For an input defined in InputSpec to be included into the executed
8080commandline ``argstr `` has to be included. Additionally inside the main
8181interface class you need to specify the name of the executable by assigning it
8282to the ``_cmd `` field. Also the main interface class needs to inherit from
83- `CommandLine `_ :
83+ :class: `CommandLine <nipype.interfaces.base.CommandLine> ` :
8484
8585.. testcode ::
8686
@@ -92,7 +92,7 @@ to the ``_cmd`` field. Also the main interface class needs to inherit from
9292There is one more thing we need to take care of. When the executable finishes
9393processing it will presumably create some output files. We need to know which
9494files to look for, check if they exist and expose them to whatever node would
95- like to use them. This is done by implementing `_list_outputs `_ method in the
95+ like to use them. This is done by implementing :func: `_list_outputs <nipype.interfaces.base.BaseInterface._list_outputs> ` method in the
9696main interface class. Basically what it does is assigning the expected output
9797files to the fields of our output spec:
9898
0 commit comments