We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d3e1b commit d1f0b3eCopy full SHA for d1f0b3e
nipype/interfaces/afni/base.py
@@ -295,7 +295,7 @@ class AFNIPythonCommandInputSpec(CommandLineInputSpec):
295
class AFNIPythonCommand(AFNICommand):
296
@property
297
def cmd(self):
298
- if spawn.find_executable(super(AFNIPythonCommand, self).cmd) != '':
+ if spawn.find_executable(super(AFNIPythonCommand, self).cmd) is not None:
299
return spawn.find_executable(super(AFNIPythonCommand, self).cmd)
300
else:
301
return super(AFNIPythonCommand, self).cmd
0 commit comments