Skip to content

Commit

Permalink
print output doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
singlesp committed Jan 21, 2025
1 parent 0013da8 commit b27c66d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cubids/cubids.py
Original file line number Diff line number Diff line change
Expand Up @@ -2132,11 +2132,11 @@ def get_entity_value(path, key):
Examples
--------
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'sub'))
'01'
01
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'ses'))
'02'
02
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'task'))
'rest'
rest
>>> print(get_entity_value('/path/to/sub-01_ses-02_task-rest_bold.nii.gz', 'run'))
None
"""
Expand Down

0 comments on commit b27c66d

Please sign in to comment.