Skip to content

Commit 76cc13a

Browse files
committed
FIX: doctest
1 parent c14347f commit 76cc13a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

niworkflows/viz/plots.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -830,13 +830,9 @@ def _get_tr(img):
830830
>>> _get_tr(nb.load(Path(test_data) /
831831
... 'sub-ds205s03_task-functionallocalizer_run-01_bold_volreg.nii.gz'))
832832
2.2
833-
>>> _get_tr(Path(test_data) /
833+
>>> _get_tr(nb.load(Path(test_data) /
834834
... 'sub-01_task-mixedgamblestask_run-02_space-fsLR_den-91k_bold.dtseries.nii'))
835835
2.0
836-
>>> _get_tr('madeupfile.nii')
837-
Traceback (most recent call last):
838-
...
839-
ValueError: Could not extract ...
840836
"""
841837

842838
try:

0 commit comments

Comments
 (0)