0a45f8f04befa766e99232ff557b1fb76089330b,Orange/data/filter.py,FilterContinuous,__call__,#FilterContinuous#Any#,344

Before Change


        self.ref = value

    def __call__(self, inst):
        if inst.domain is not self.last_domain:
            self.cache_position(inst.domain)
        value = inst[self.pos_cache]
        if isnan(value):
            return self.oper == self.Equal and isnan(self.ref)
        if self.oper == self.Equal:

After Change


        self.ref = value

    def __call__(self, inst):
        value = inst[inst.domain.index(self.column)]
        if isnan(value):
            return self.oper == self.Equal and isnan(self.ref)
        if self.oper == self.Equal:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: biolab/orange3
Commit Name: 0a45f8f04befa766e99232ff557b1fb76089330b
Time: 2019-05-31
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/data/filter.py
Class Name: FilterContinuous
Method Name: __call__


Project Name: biolab/orange3
Commit Name: 0a45f8f04befa766e99232ff557b1fb76089330b
Time: 2019-05-31
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/data/filter.py
Class Name: FilterDiscrete
Method Name: __call__


Project Name: biolab/orange3
Commit Name: 0a45f8f04befa766e99232ff557b1fb76089330b
Time: 2019-05-31
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/data/filter.py
Class Name: FilterStringList
Method Name: __call__


Project Name: biolab/orange3
Commit Name: 0a45f8f04befa766e99232ff557b1fb76089330b
Time: 2019-05-31
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/data/filter.py
Class Name: FilterString
Method Name: __call__