Skip to content

Commit a63c52d

Browse files
authored
Merge pull request #2066 from jdkent/master
FIX: added isdefined module to ICA_AROMA.py
2 parents 6be8010 + b5e43b8 commit a63c52d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nipype/interfaces/fsl/ICA_AROMA.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from __future__ import print_function, division, unicode_literals, absolute_import
1515
from ..base import (TraitedSpec, CommandLineInputSpec, CommandLine,
16-
File, Directory, traits)
16+
File, Directory, traits, isdefined)
1717
import os
1818

1919

@@ -109,7 +109,7 @@ def _list_outputs(self):
109109
else:
110110
outputs['out_dir'] = self._gen_filename('out_dir')
111111
out_dir = outputs['out_dir']
112-
112+
113113
if self.inputs.denoise_type in ('aggr', 'both'):
114114
outputs['aggr_denoised_file'] = os.path.join(out_dir, 'denoised_func_data_aggr.nii.gz')
115115
if self.inputs.denoise_type in ('nonaggr', 'both'):
@@ -119,5 +119,3 @@ def _list_outputs(self):
119119
def _gen_filename(self, name):
120120
if name == 'out_dir':
121121
return os.getcwd()
122-
123-

0 commit comments

Comments
 (0)