Skip to content
Merged
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
1 change: 1 addition & 0 deletions nipype/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
def add_np(doctest_namespace):
doctest_namespace["np"] = numpy
doctest_namespace["os"] = os
doctest_namespace["pytest"] = pytest
doctest_namespace["datadir"] = data_dir


Expand Down
8 changes: 8 additions & 0 deletions nipype/interfaces/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,14 @@ class BIDSDataGrabber(LibraryBaseInterface, IOBase):

Examples
--------

.. setup::

>>> try:
... import bids
... except ImportError:
... pytest.skip()

By default, the BIDSDataGrabber fetches anatomical and functional images
from a project, and makes BIDS entities (e.g. subject) available for
filtering outputs.
Expand Down