Ignore:
Timestamp:
04/16/12 12:51:56 (2 years ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
Children:
10796:6516880fb239, 10798:93c951f4cc33
Message:

Fixed unicode bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Evaluate/OWPredictions.py

    r9671 r10795  
    489489        else: 
    490490            # regression 
    491             mc = [orange.FloatVariable(name="%s" % c.name,  
    492                                        getValueFrom = lambda ex, rw, c=c: orange.Value(c(ex))) 
     491            mc = [orange.FloatVariable(name="%s" % str(c.name), 
     492                    getValueFrom=lambda ex, rw, c=c: orange.Value(c(ex))) 
    493493                  for c in self.predictors.values()] 
    494494            metas.extend(mc) 
Note: See TracChangeset for help on using the changeset viewer.