MCPcopy Create free account
hub / github.com/numpy/numpy / gpaths

Function gpaths

numpy/distutils/misc_util.py:303–308  ·  view source on GitHub ↗

Apply glob to paths and prepend local_path if needed.

(paths, local_path='', include_non_existing=True)

Source from the content-addressed store, hash-verified

301 return [minrelpath(p) for p in new_paths]
302
303def gpaths(paths, local_path='', include_non_existing=True):
304 """Apply glob to paths and prepend local_path if needed.
305 """
306 if is_string(paths):
307 paths = (paths,)
308 return _fix_paths(paths, local_path, include_non_existing)
309
310def make_temp_file(suffix='', prefix='', text=True):
311 if not hasattr(_tdata, 'tempdir'):

Callers 2

test_gpathsMethod · 0.90
pathsMethod · 0.85

Calls 2

is_stringFunction · 0.85
_fix_pathsFunction · 0.85

Tested by 1

test_gpathsMethod · 0.72