diff --git a/nipype/interfaces/base/core.py b/nipype/interfaces/base/core.py index 31ae82be52..8fededa899 100644 --- a/nipype/interfaces/base/core.py +++ b/nipype/interfaces/base/core.py @@ -587,6 +587,11 @@ def run(self, cwd=None, ignore_exception=None, **inputs): return results + def __call__(self, **kwargs): + """Make interface into a callable function""" + results = self.run(**kwargs) + return results + def _list_outputs(self): """ List the expected outputs """