Label verifier bugged when having generated labels.
This commit is contained in:
parent
5a2a1afe91
commit
d26dd54f5b
@ -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):
|
||||
|
Reference in New Issue
Block a user