Clean up PIL plugin and handle more warnings

Use the pil plugin to load data files

Fix install_requires string formatting

Dead end commit

Make all tools executable

Remove debug print

Suppress PIL resourcewarnings

Handle a few more warnings
This commit is contained in:
Steven Silvester
2014-12-23 16:48:38 -06:00
parent 79c648b14c
commit 2756358f3c
14 changed files with 25 additions and 13 deletions
+2 -1
View File
@@ -8,7 +8,7 @@ For more images, see
import os as _os
from ..io import imread
from ..io import imread, use_plugin
from skimage import data_dir
@@ -42,6 +42,7 @@ def load(f):
img : ndarray
Image loaded from skimage.data_dir.
"""
use_plugin('pil')
return imread(_os.path.join(data_dir, f))