Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

small bugfix

This commit is contained in:
Arnar Flatberg 2007-01-09 08:53:28 +00:00
parent fa047e0171
commit 1e0b99f283
1 changed files with 2 additions and 2 deletions

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)