Implemented PhenotypeDataset with tests.

This commit is contained in:
2006-05-03 14:04:28 +00:00
parent 56a6028547
commit b757da5929
3 changed files with 133 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class Dataset:
if shape != None:
if self.shape!=shape:
#logger.log("debug","Dataset and input shape mismatch")
raise ValueError
raise ValueError, "Differing in array and provided. %s != %s" % (self.shape, shape)
if identifiers!=None:
self._set_identifiers(identifiers,all_dims)
else: