changeset 1479:1b69d435f09f

fix error string.
author Frederic Bastien <nouiz@nouiz.org>
date Wed, 25 May 2011 09:26:47 -0400
parents 1e4dc99a3b13
children 51f1453fd6f6
files pylearn/datasets/icml07.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/datasets/icml07.py	Tue May 24 19:35:05 2011 -0400
+++ b/pylearn/datasets/icml07.py	Wed May 25 09:26:47 2011 -0400
@@ -97,7 +97,7 @@
     if rootdir is None:
         rootdir = get_filepath_in_roots('icml07data_twiki')
     if rootdir is None:
-        raise IOError('dataset not found (no icml07data_twiki folder in dbpath')
+        raise IOError('dataset not found (no icml07data_twiki folder in PYLEARN_DATA_ROOT or DBPATH environment variable.')
     rval = dict(
         mnist_basic=DatasetLoader(
             http_source='http://www.iro.umontreal.ca/~lisa/icml2007data/mnist.zip',