Changeset 10045:d1a5a1ee344a in orange


Ignore:
Timestamp:
02/08/12 09:54:05 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
e74a1a6be43b36812595a43f65a46f9bc0578efa
Message:

Fixed a data.variable reference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/multilabel/__init__.py

    r9671 r10045  
    2323        return False 
    2424    for c in data.domain.class_vars: 
    25         if type(c) is not Orange.data.variable.Discrete or sorted(c.values) != ['0', '1']: 
     25        if type(c) is not Orange.feature.Discrete or sorted(c.values) != ['0', '1']: 
    2626            return False 
    2727    return True 
Note: See TracChangeset for help on using the changeset viewer.