Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ENH: Interfaces with automated population of outputs #3150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
Loading
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
enh: simplify base interface
  • Loading branch information
oesteban committed Jan 8, 2020
commit 75d12f440dfd8734507a83af6f6c3cfecab24f14
23 changes: 0 additions & 23 deletions 23 nipype/interfaces/base/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,33 +99,10 @@ def help(cls, returnhelp=False):
print(allhelp)
return None # R1710

def __init__(self):
"""Subclasses must implement __init__"""
raise NotImplementedError

def run(self):
"""Execute the command."""
raise NotImplementedError

def aggregate_outputs(self, runtime=None, needed_outputs=None):
"""Called to populate outputs"""
raise NotImplementedError

def _list_outputs(self):
""" List expected outputs"""
raise NotImplementedError

@classmethod
def _get_filecopy_info(cls):
"""Provides information about file inputs to copy or link to cwd.
Necessary for pipeline operation
"""
iflogger.warning(
"_get_filecopy_info member of Interface was deprecated "
"in nipype-1.1.6 and will be removed in 1.2.0"
)
return get_filecopy_info(cls)


class BaseInterface(Interface):
"""Implement common interface functionality.
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.