Skip to content

Commit f8370fd

Browse files
committed
Made get_cache more verbose
1 parent c54d63e commit f8370fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

stumpy/cache.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,12 @@ def _get_cache(cache_dir=None):
168168
else: # pragma: no cover
169169
site_pkg_dir = site.getsitepackages()[0]
170170
numba_cache_dir = site_pkg_dir + "/stumpy/__pycache__"
171-
return [f.name for f in pathlib.Path(numba_cache_dir).glob("*nb*") if f.is_file()]
171+
172+
return [
173+
f"{numba_cache_dir}/{f.name}"
174+
for f in pathlib.Path(numba_cache_dir).glob("*nb*")
175+
if f.is_file()
176+
]
172177

173178

174179
def _recompile():

0 commit comments

Comments
 (0)