f90f104c5eaf23ec26e891eec928229ebb27ad85,Orange/widgets/data/owmergedata.py,OWMergeData,setDataA,#OWMergeData#Any#,100

Before Change


        self.dataA = data
        self.setAttrs()
        self.closeContext()
        self.attr_a = next(iter(self.attrModelA), "")
        self.openContext(self.dataA)
        self.infoBoxDataA.setText(self.dataInfoText(data))

    @check_sql_input

After Change


        self._setAttrs(self.attrModelA, data, self.attrModelB, self.dataB)
        curr_index = -1
        if self.attr_a:
            curr_index = next((i for i, val in enumerate(self.attrModelA)
                               if str(val) == self.attr_a), -1)
        if curr_index != -1:
            self.attrViewA.setCurrentIndex(curr_index)
        else:
            self.attr_a = INDEX
        self.infoBoxDataA.setText(self.dataInfoText(data))

    @check_sql_input
    def setDataB(self, data):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: biolab/orange3
Commit Name: f90f104c5eaf23ec26e891eec928229ebb27ad85
Time: 2016-07-29
Author: kerncece@gmail.com
File Name: Orange/widgets/data/owmergedata.py
Class Name: OWMergeData
Method Name: setDataA


Project Name: rail-berkeley/softlearning
Commit Name: f632bc3e2fc323161972306acdac8a59dade337a
Time: 2018-08-10
Author: kristian.hartikainen@gmail.com
File Name: examples/utils.py
Class Name:
Method Name: parse_domain_task


Project Name: rail-berkeley/softlearning
Commit Name: 7fee961e6b0d8b90d118ca73ffdf81bd1f51a152
Time: 2018-07-31
Author: kristian.hartikainen@gmail.com
File Name: examples/utils.py
Class Name:
Method Name: parse_domain_task


Project Name: biolab/orange3
Commit Name: f90f104c5eaf23ec26e891eec928229ebb27ad85
Time: 2016-07-29
Author: kerncece@gmail.com
File Name: Orange/widgets/data/owmergedata.py
Class Name: OWMergeData
Method Name: setDataB