d0c97911330dc284c9d734d0588e75a0e6a84711,Orange/widgets/data/tests/test_owmergedata.py,TestOWMergeData,test_output_merge_by_ids_outer,#TestOWMergeData#,60

Before Change



    def test_output_merge_by_ids_outer(self):
        Check output for merging all values by IDs
        self.send_signal("Data A", self.dataA[:, [0, -1]])
        self.send_signal("Data B", self.dataA[:, [0, "c1"]])
        self.widget.attr_a = "Source position (index)"
        self.widget.attr_b = "Source position (index)"

After Change


        Check output for merging option "Concatenate tables, merge rows" by
        Source position (index)
        domain = self.dataA.domain
        result = Table(domain,
                       np.array([[0, np.nan], [1, 1], [2, 0], [np.nan, 1]]),
                       np.array([0, 1, 2, np.nan]),
                       np.array([[0.0, ""], [1.0, "m2"], [np.nan, "m3"],
                                 [np.nan, "m4"]]).astype(object))
        self.send_signal("Data", self.dataA[:3, [0, "cls", -1]])
        self.send_signal("Extra Data", self.dataA[1:, [1, "cls", -2]])
        self.widget.attr_combine_data = "Source position (index)"
        self.widget.attr_combine_extra = "Source position (index)"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: d0c97911330dc284c9d734d0588e75a0e6a84711
Time: 2017-03-09
Author: tankovesna@hotmail.com
File Name: Orange/widgets/data/tests/test_owmergedata.py
Class Name: TestOWMergeData
Method Name: test_output_merge_by_ids_outer


Project Name: biolab/orange3
Commit Name: 59029b8e7e3310722b4ed94c3562e7b01b87befc
Time: 2017-03-09
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owmergedata.py
Class Name:
Method Name: test


Project Name: biolab/orange3
Commit Name: 701801999dc43c488ad35e875c5ab6aa5a3550e3
Time: 2020-02-06
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/unsupervised/owdistancemap.py
Class Name:
Method Name: