From 1e0b99f28312755306dd787b021d311f6f4c4c23 Mon Sep 17 00:00:00 2001 From: flatberg Date: Tue, 9 Jan 2007 08:53:28 +0000 Subject: [PATCH] small bugfix --- workflows/go_workflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflows/go_workflow.py b/workflows/go_workflow.py index 37c1694..1ff4ef2 100644 --- a/workflows/go_workflow.py +++ b/workflows/go_workflow.py @@ -154,7 +154,7 @@ class LoadTextDatasetFunction(workflow.Function): # The line is on the form; # dimension: dimname id1 id2 id3 ... if key == 'dimension': - values = [v.strip() for v in val.split(' ') + values = [v.strip() for v in val.split(' ')] dimensions.append(values[0]) identifiers[values[0]] = values[1:] @@ -237,7 +237,7 @@ class DistanceMetricFrame(gtk.Frame): self._metric_buttons = {} - vbox = gtk.VBox(len(DISTANCE_METRICS)) + vbox = gtk.VBox() prev = None for code, text in DISTANCE_METRICS: btn = gtk.RadioButton(prev, '%s' % text)