File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,24 @@ def mono_check(plugin, fmt='png'):
194194
195195
196196def fetch (data_filename , prefix = None ):
197- """Attempt to fetch data, but if unavailable, skip the tests."""
197+ """Attempt to fetch data, but if unavailable, skip the tests.
198+
199+ Parameters
200+ ----------
201+ data_filename : str
202+ File path in the scikit-image repo tree, e.g.,
203+ 'restoration/camera_rl.npy', possibly pointing to a remote location.
204+
205+ prefix : str, optional
206+ If None, `data_filename` is prefixed by 'src/skimage'
207+ If 'tests', `data_filename` is prefixed by 'tests/skimage'.
208+
209+ Returns
210+ -------
211+ file_path : str
212+ Path of the local file, possibly pointing to a remote location.
213+
214+ """
198215 try :
199216 return _fetch (data_filename , prefix = prefix )
200217 except (ConnectionError , ModuleNotFoundError ):
You can’t perform that action at this time.
0 commit comments