-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Description
I'm not sure if I'm misunderstanding how I'm supposed to access the new pooch-handled data... but it seems that if all goes according to plan with the download in data.__init__
, the data_dir
variable will always fall back on the legacy_data_dir
. (i.e. if there's no break statement in the following clause, it will go to the else statement):
scikit-image/skimage/data/__init__.py
Lines 168 to 175 in f5290e1
# Fetch all legacy data so that it is available by default | |
for filename in legacy_registry: | |
_fetch(filename) | |
else: | |
# Without pooch, fallback on the standard data directory | |
# which for now, includes a few limited data samples | |
data_dir = legacy_data_dir |
am I missing something?
PS. thank you and congrats on the new release!
Version information
3.8.2 | packaged by conda-forge | (default, Mar 23 2020, 17:55:48)
[Clang 9.0.1 ]
macOS-10.13.6-x86_64-i386-64bit
scikit-image version: 0.17.0
numpy version: 1.18.4
Metadata
Metadata
Assignees
Labels
No labels