small bugfix

This commit is contained in:
Arnar Flatberg 2007-01-09 08:53:28 +00:00
parent fa047e0171
commit 1e0b99f283

View File

@ -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)