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;
|
# The line is on the form;
|
||||||
# dimension: dimname id1 id2 id3 ...
|
# dimension: dimname id1 id2 id3 ...
|
||||||
if key == 'dimension':
|
if key == 'dimension':
|
||||||
values = [v.strip() for v in val.split(' ')
|
values = [v.strip() for v in val.split(' ')]
|
||||||
dimensions.append(values[0])
|
dimensions.append(values[0])
|
||||||
identifiers[values[0]] = values[1:]
|
identifiers[values[0]] = values[1:]
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ class DistanceMetricFrame(gtk.Frame):
|
||||||
|
|
||||||
self._metric_buttons = {}
|
self._metric_buttons = {}
|
||||||
|
|
||||||
vbox = gtk.VBox(len(DISTANCE_METRICS))
|
vbox = gtk.VBox()
|
||||||
prev = None
|
prev = None
|
||||||
for code, text in DISTANCE_METRICS:
|
for code, text in DISTANCE_METRICS:
|
||||||
btn = gtk.RadioButton(prev, '%s' % text)
|
btn = gtk.RadioButton(prev, '%s' % text)
|
||||||
|
|
Reference in New Issue