File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
Change directory to provide relative paths for doctests
10
10
>>> import os
11
- >>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
12
- >>> datadir = os.path.realpath(os.path.join(filepath, '../testing/data'))
11
+ >>> import bids
12
+ >>> filepath = os.path.realpath(os.path.dirname(bids.__file__))
13
+ >>> datadir = os.path.realpath(os.path.join(filepath, 'grabbids/tests/data/'))
13
14
>>> os.chdir(datadir)
14
15
15
16
"""
@@ -51,7 +52,7 @@ class BIDSDataGrabber(BaseInterface):
51
52
>>> bg = BIDSDataGrabber()
52
53
>>> bg.inputs.base_dir = 'ds005/'
53
54
>>> results = bg.run()
54
- >>> pprint.pprint( len(results.outputs.outfield) ) # doctest: +ALLOW_UNICODE
55
+ >>> len(results.outputs.outfield) # doctest: +ALLOW_UNICODE
55
56
116
56
57
57
58
Using dynamically created, user-defined input fields,
You can’t perform that action at this time.
0 commit comments