@@ -93,18 +93,17 @@ def ls(self, template, **kwargs) -> list[Path]:
9393
9494 >>> client = TemplateFlowClient()
9595
96- >>> client.ls('MNI152Lin', resolution=1, suffix='T1w', desc=None) # doctest: +ELLIPSIS
96+ >>> client.ls('MNI152Lin', resolution=1, suffix='T1w', desc=None)
9797 [PosixPath('.../tpl-MNI152Lin/tpl-MNI152Lin_res-01_T1w.nii.gz')]
9898
99- >>> client.ls('MNI152Lin', resolution=2, suffix='T1w', desc=None) # doctest: +ELLIPSIS
99+ >>> client.ls('MNI152Lin', resolution=2, suffix='T1w', desc=None)
100100 [PosixPath('.../tpl-MNI152Lin/tpl-MNI152Lin_res-02_T1w.nii.gz')]
101101
102- >>> client.ls('MNI152Lin', suffix='T1w', desc=None) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
102+ >>> client.ls('MNI152Lin', suffix='T1w', desc=None)
103103 [PosixPath('.../tpl-MNI152Lin/tpl-MNI152Lin_res-01_T1w.nii.gz'),
104104 PosixPath('.../tpl-MNI152Lin/tpl-MNI152Lin_res-02_T1w.nii.gz')]
105105
106- >>> client.ls('fsLR', space=None, hemi='L',
107- ... density='32k', suffix='sphere') # doctest: +ELLIPSIS
106+ >>> client.ls('fsLR', space=None, hemi='L', density='32k', suffix='sphere')
108107 [PosixPath('.../tpl-fsLR_hemi-L_den-32k_sphere.surf.gii')]
109108
110109 >>> client.ls('fsLR', space='madeup')
@@ -159,25 +158,23 @@ def get(self, template, raise_empty=False, **kwargs) -> list[Path]:
159158
160159 >>> client = TemplateFlowClient()
161160
162- >>> str(client.get('MNI152Lin', resolution=1, suffix='T1w', desc=None)) # doctest: +ELLIPSIS
161+ >>> str(client.get('MNI152Lin', resolution=1, suffix='T1w', desc=None))
163162 '.../tpl-MNI152Lin/tpl-MNI152Lin_res-01_T1w.nii.gz'
164163
165- >>> str(client.get('MNI152Lin', resolution=2, suffix='T1w', desc=None)) # doctest: +ELLIPSIS
164+ >>> str(client.get('MNI152Lin', resolution=2, suffix='T1w', desc=None))
166165 '.../tpl-MNI152Lin/tpl-MNI152Lin_res-02_T1w.nii.gz'
167166
168- >>> [str(p) for p in client.get(
169- ... 'MNI152Lin', suffix='T1w', desc=None)] # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
167+ >>> [str(p) for p in client.get('MNI152Lin', suffix='T1w', desc=None)]
170168 ['.../tpl-MNI152Lin/tpl-MNI152Lin_res-01_T1w.nii.gz',
171169 '.../tpl-MNI152Lin/tpl-MNI152Lin_res-02_T1w.nii.gz']
172170
173- >>> str(client.get('fsLR', space=None, hemi='L',
174- ... density='32k', suffix='sphere')) # doctest: +ELLIPSIS
171+ >>> str(client.get('fsLR', space=None, hemi='L', density='32k', suffix='sphere'))
175172 '.../tpl-fsLR_hemi-L_den-32k_sphere.surf.gii'
176173
177174 >>> client.get('fsLR', space='madeup')
178175 []
179176
180- >>> client.get('fsLR', raise_empty=True, space='madeup') # doctest: +IGNORE_EXCEPTION_DETAIL
177+ >>> client.get('fsLR', raise_empty=True, space='madeup')
181178 Traceback (most recent call last):
182179 Exception:
183180 ...
0 commit comments