Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Label verifier bugged when having generated labels.

This commit is contained in:
Truls Alexander Tangstad 2006-04-22 17:30:10 +00:00
parent 5a2a1afe91
commit d26dd54f5b
1 changed files with 2 additions and 3 deletions

View File

@ -39,9 +39,8 @@ class Dataset:
self._dim_num[dim_name] = axis
self._dim_names.append(dim_name)
for df,d in izip(def_list,self.dims): #check that data and labels match
df=df[1]
if len(df)!=d and df:
for (dimname, ids), d in izip(def_list,self.dims): #check that data and labels match
if len(self.ids[dimname]) != d:
raise ValueError,"dim size and identifyer mismatch"
def get_name(self):