da0632ccb49809d6ed1d4c0176dcf256af6f7a66,Orange/widgets/utils/annotated_data.py,,create_annotated_table,#Any#Any#,25

Before Change


    annotated = np.zeros((len(data), 1))
    if selected_indices is not None:
        annotated[selected_indices] = 1
    return Table(domain, data.X, data.Y,
                 metas=np.hstack((data.metas, annotated)))

After Change


    annotated = np.zeros((len(data), 1))
    if selected_indices is not None:
        annotated[selected_indices] = 1
    table = Table(domain, data.X, data.Y,
                  metas=np.hstack((data.metas, annotated)))
    table.attributes = data.attributes
    return table
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: biolab/orange3
Commit Name: da0632ccb49809d6ed1d4c0176dcf256af6f7a66
Time: 2017-01-08
Author: blaz.zupan@fri.uni-lj.si
File Name: Orange/widgets/utils/annotated_data.py
Class Name:
Method Name: create_annotated_table


Project Name: biolab/orange3
Commit Name: 932042ae46a7c3b105cb2a54255adb4befb65ae0
Time: 2017-01-18
Author: lan.zagar@gmail.com
File Name: Orange/widgets/utils/annotated_data.py
Class Name:
Method Name: create_annotated_table


Project Name: biolab/orange3
Commit Name: bf5c848c37cc7824feb961e39fc08a889266b6e4
Time: 2017-01-12
Author: lan.zagar@gmail.com
File Name: Orange/widgets/utils/annotated_data.py
Class Name:
Method Name: create_annotated_table