small bugfix
This commit is contained in:
parent
fa047e0171
commit
1e0b99f283
@ -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)
|
||||
|
Reference in New Issue
Block a user