Changeset 3620:9ad8662ec78b in orange


Ignore:
Timestamp:
04/30/07 17:47:31 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
e6972069b8d850be20cfc9c79d98ab9f6a0915da
Message:
  • PerfectDomainContext ignored the value matching flag
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWContexts.py

    r3598 r3620  
    410410    def __init__(self, contextName = "", fields = [], 
    411411                 syncWithGlobal = True, maxAttributesToPickle = 100, matchValues = 0, **args): 
    412         DomainContextHandler.__init__(self, contextName, fields, False, False, False, syncWithGlobal, **args) 
     412        DomainContextHandler.__init__(self, contextName, fields, False, False, False, syncWithGlobal, maxAttributesToPickle = maxAttributesToPickle, matchValues = matchValues, **args) 
    413413 
    414414         
     
    419419            classVar = domain.classVar 
    420420            if classVar: 
    421                 classVar = classVar.name, classVar.varType != orange.VarType.Discrete and classVar.varType or classVar.values 
     421                classVar = classVar.name, classVar.varType != orange.VarTypes.Discrete and classVar.varType or classVar.values 
    422422            metas = dict([(attr.name, attr.varType != orange.VarTypes.Discrete and attr.varType or attr.values) 
    423423                         for attr in domain.getmetas().values()]) 
Note: See TracChangeset for help on using the changeset viewer.