# HG changeset patch # User Frederic Bastien # Date 1212524018 14400 # Node ID 38e7d90a12186ecf6798efcc58e8a4b49b69b7c3 # Parent 1cafd495098c090bad3d5c03809a2be11198a113 code cleanup diff -r 1cafd495098c -r 38e7d90a1218 dataset.py --- a/dataset.py Tue Jun 03 16:11:59 2008 -0400 +++ b/dataset.py Tue Jun 03 16:13:38 2008 -0400 @@ -1052,7 +1052,6 @@ # store the resulting minibatch in a lookup-list of values self.minibatch = LookupList(fieldnames,[0]*len(fieldnames)) self.dataset=dataset - assert 1<=len(dataset.data) self.current=0 self.columns = [self.dataset.fields_columns[f] for f in self.minibatch._names]