Changeset 1905:389c619d8e5e in orange-bioinformatics


Ignore:
Timestamp:
11/11/13 18:13:11 (5 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Ignore conflicting class variables in the selected subsets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orangecontrib/bio/widgets/OWVennDiagram.py

    r1904 r1905  
    455455        features_seen.update(features) 
    456456 
    457         if table.domain.class_var is not None: 
    458             if class_var is not None and table.domain.class_var != class_var: 
    459                 raise ValueError("Tables contains mismatching class var.") 
    460             else: 
    461                 class_var = table.domain.class_var 
    462                 features_seen.add(class_var) 
     457        if table.domain.class_var is not None and class_var is None: 
     458            class_var = table.domain.class_var 
     459            features_seen.add(class_var) 
    463460 
    464461        new_metas = {mid: meta 
Note: See TracChangeset for help on using the changeset viewer.