From 5800e7e362b15fd3eedb17226bd6e94af128f250 Mon Sep 17 00:00:00 2001 From: einarr Date: Wed, 21 Feb 2007 11:49:43 +0000 Subject: [PATCH] Fixed a bug that prevented the first selection on a dimension to come from a dataset. --- fluents/selections.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fluents/selections.py b/fluents/selections.py index f2d5fb4..cbb732e 100644 --- a/fluents/selections.py +++ b/fluents/selections.py @@ -202,6 +202,7 @@ class SelectionListController: store.insert_after(None, None, values) def add_dataset(self, dataset): + self._ensure_selection_store(dataset.get_dim_name(0)) store = self._sel_stores[dataset.get_dim_name(0)] di = self._get_dataset_iter(dataset) if not di: