Changeset 4653:01350c78f2fc in orange


Ignore:
Timestamp:
05/16/08 21:40:49 (6 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
727b3e7b5e85657dca5fddd8238a8afc95484e38
Message:
  • fixed a bug in putting meta attributes in the reservoir in funcion DomainContextHandler.settingsToWidget
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWContexts.py

    r4570 r4653  
    278278        for name, values in excluded.items(): 
    279279            addOrd, addMeta = name in addOrdinaryTo, name in addMetaTo 
    280             ll = [a for a in context.orderedDomain if a not in values and ((addOrd and context.attributes.get(a[0], None) == a[1]) or (addMeta and a in context.metas.get(a[0], None) == a[1]))] 
     280            ll = [a for a in context.orderedDomain if a not in values and ((addOrd and context.attributes.get(a[0], None) == a[1]) or (addMeta and context.metas.get(a[0], None) == a[1]))] 
    281281            setattr(widget, name, ll) 
    282282             
Note: See TracChangeset for help on using the changeset viewer.