Skip to content

Commit 8c6cd7d

Browse files
committed
DOCTEST: Retreive a surface file using test_data
1 parent 0530484 commit 8c6cd7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nibabel/gifti/gifti.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,8 @@ def agg_data(self, intent_code=None):
699699
700700
Examples:
701701
>>> import nibabel as nib
702-
>>> gii_fname = # something/something.surf.gii
702+
>>> from nibabel.testing import test_data
703+
>>> gii_fname = test_data('gifti', 'ascii.gii')
703704
>>> gii_img = nib.load(gii_fname)
704705
705706
When not passing anything to``intent_code``

0 commit comments

Comments
 (0)