Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Fixed the dataset loading so that it returns a correctly named Dataset.

This commit is contained in:
Einar Ryeng 2007-01-16 12:41:29 +00:00
parent f612dda72f
commit 33c51505c4
1 changed files with 3 additions and 3 deletions

View File

@ -473,11 +473,11 @@ def read_ftsv(fd):
# Create dataset of specified type # Create dataset of specified type
if type == 'category': if type == 'category':
ds = CategoryDataset(matrix, dims) ds = CategoryDataset(matrix, dims, name)
elif type == 'network': elif type == 'network':
ds = GraphDataset(matrix, dims) ds = GraphDataset(matrix, dims, name)
else: else:
ds = Dataset(matrix, dims) ds = Dataset(matrix, dims, name)
return ds return ds