From 33c51505c4a05228bca2e4a6880812c7ad44fff1 Mon Sep 17 00:00:00 2001 From: einarr Date: Tue, 16 Jan 2007 12:41:29 +0000 Subject: [PATCH] Fixed the dataset loading so that it returns a correctly named Dataset. --- fluents/dataset.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fluents/dataset.py b/fluents/dataset.py index 4446dc8..488f97f 100644 --- a/fluents/dataset.py +++ b/fluents/dataset.py @@ -473,11 +473,11 @@ def read_ftsv(fd): # Create dataset of specified type if type == 'category': - ds = CategoryDataset(matrix, dims) + ds = CategoryDataset(matrix, dims, name) elif type == 'network': - ds = GraphDataset(matrix, dims) + ds = GraphDataset(matrix, dims, name) else: - ds = Dataset(matrix, dims) + ds = Dataset(matrix, dims, name) return ds