changeset 125:7d8b3d6dd4e9

bugfix
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Wed, 07 May 2008 16:22:28 -0400
parents 9c4f522526bf
children f959ad58facc fa752c55aa09
files dataset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dataset.py	Wed May 07 16:20:40 2008 -0400
+++ b/dataset.py	Wed May 07 16:22:28 2008 -0400
@@ -767,7 +767,7 @@
                 # concatenate all the fields of the minibatches
                 return reduce(LookupList.__add__,[iterator.next() for iterator in self.iterators])
                                      
-        assert self.hasfields(fieldnames)
+        assert self.hasFields(*fieldnames)
         # find out which underlying datasets are necessary to service the required fields
         # and construct corresponding minibatch iterators
         if fieldnames: