Skip to content

Commit e9680fb

Browse files
committed
MAINT: Remove deprecated traits
1 parent eae8b20 commit e9680fb

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,12 +1810,6 @@ class ROIStatsInputSpec(CommandLineInputSpec):
18101810
argstr='-mask_f2short',
18111811
position=2)
18121812
quiet = traits.Bool(desc='execute quietly', argstr='-quiet', position=1)
1813-
terminal_output = traits.Enum(
1814-
'allatonce',
1815-
deprecated='1.0.0',
1816-
desc='Control terminal output:`allatonce` - waits till command is '
1817-
'finished to display output',
1818-
nohash=True)
18191813

18201814

18211815
class ROIStatsOutputSpec(TraitedSpec):

nipype/interfaces/base/specs.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,7 @@ class TraitedSpec(BaseTraitedSpec):
319319

320320

321321
class BaseInterfaceInputSpec(TraitedSpec):
322-
ignore_exception = traits.Bool(
323-
False,
324-
usedefault=True,
325-
nohash=True,
326-
deprecated='1.0.0',
327-
desc='Print an error message instead of throwing an exception '
328-
'in case the interface fails to run')
322+
pass
329323

330324

331325
class DynamicTraitedSpec(BaseTraitedSpec):
@@ -364,21 +358,6 @@ class CommandLineInputSpec(BaseInterfaceInputSpec):
364358
args = traits.Str(argstr='%s', desc='Additional parameters to the command')
365359
environ = traits.DictStrStr(
366360
desc='Environment variables', usedefault=True, nohash=True)
367-
# This input does not have a "usedefault=True" so the set_default_terminal_output()
368-
# method would work
369-
terminal_output = traits.Enum(
370-
'stream',
371-
'allatonce',
372-
'file',
373-
'none',
374-
deprecated='1.0.0',
375-
desc=('Control terminal output: `stream` - '
376-
'displays to terminal immediately (default), '
377-
'`allatonce` - waits till command is '
378-
'finished to display output, `file` - '
379-
'writes output to file, `none` - output'
380-
' is ignored'),
381-
nohash=True)
382361

383362

384363
class StdOutCommandLineInputSpec(CommandLineInputSpec):

0 commit comments

Comments
 (0)