Skip to content

Commit 2bd7a29

Browse files
committed
inserted warnings for prelude and fugue on initialization
1 parent a4878cb commit 2bd7a29

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ def _gen_filename(self, name):
10341034
return self._list_outputs()['smoothed_file']
10351035
return None
10361036

1037-
class FUGUEInputSpec(TraitedSpec):
1037+
class FUGUEInputSpec(FSLCommandInputSpec):
10381038
in_file = File(exists=True, argstr='--in=%s',
10391039
desc='filename of input volume')
10401040
unwarped_file = File(argstr='--unwarp=%s', genfile=True,
@@ -1107,14 +1107,18 @@ class FUGUE(FSLCommand):
11071107
Examples
11081108
--------
11091109
1110-
>>>
1110+
Please insert examples for use of this command
11111111
11121112
"""
11131113

11141114
_cmd = 'fugue'
11151115
input_spec = FUGUEInputSpec
11161116
output_spec = FUGUEOutputSpec
11171117

1118+
def __init__(self, **kwargs):
1119+
super(FUGUE, self).__init__(**kwargs)
1120+
warn('This interface has not been fully tested. Please report any failures.')
1121+
11181122
def _list_outputs(self):
11191123
outputs = self._outputs().get()
11201124
out_file = self.inputs.unwarped_file
@@ -1180,13 +1184,16 @@ class PRELUDE(FSLCommand):
11801184
Examples
11811185
--------
11821186
1183-
>>>
1187+
Please insert examples for use of this command
11841188
11851189
"""
11861190
input_spec = PRELUDEInputSpec
11871191
output_spec = PRELUDEOutputSpec
11881192
_cmd = 'prelude'
1189-
1193+
1194+
def __init__(self, **kwargs):
1195+
super(PRELUDE, self).__init__(**kwargs)
1196+
warn('This has not been fully tested. Please report any failures.')
11901197

11911198
def _list_outputs(self):
11921199
outputs = self._outputs().get()

0 commit comments

Comments
 (0)