Skip to content

[WIP/ENH] Adds a new interface for AFNI's 3dMEMA command #2953

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions nipype/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@
shutil.copytree(NIPYPE_DATADIR, data_dir)


def _create_testfiles(*args):
for file in args:
open(file, 'w').close()


@pytest.fixture(autouse=True)
def add_np(doctest_namespace):
doctest_namespace['np'] = numpy
doctest_namespace['os'] = os
doctest_namespace["datadir"] = data_dir
doctest_namespace["create_testfiles"] = _create_testfiles


@pytest.fixture(autouse=True)
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/afni/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
LocalBistat, Localstat, MaskTool, Merge, Notes, NwarpApply, NwarpAdjust,
NwarpCat, OneDToolPy, Refit, ReHo, Resample, TCat, TCatSubBrick, TStat,
To3D, Unifize, Undump, ZCutUp, GCOR, Zcat, Zeropad)
from .model import (Deconvolve, Remlfit, Synthesize)
from .model import (Deconvolve, Remlfit, Synthesize, Mema)
Loading