Skip to content

Commit b27c66d

Browse files
committed
print output doctests
1 parent 0013da8 commit b27c66d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cubids/cubids.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2132,11 +2132,11 @@ def get_entity_value(path, key):
21322132
Examples
21332133
--------
21342134
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'sub'))
2135-
'01'
2135+
01
21362136
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'ses'))
2137-
'02'
2137+
02
21382138
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'task'))
2139-
'rest'
2139+
rest
21402140
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'run'))
21412141
None
21422142
"""

0 commit comments

Comments
 (0)