2dcfbc69466198929f81fcdb4c5ca06ace7b1d2e,Orange/canvas/report/owreport.py,OWReport,_build_html,#OWReport#,96

Before Change


                                        icon)] = self._get_scheme()

    def _build_html(self):
        n_widgets = len(self.widget_list_items)
        if not n_widgets:
            self.report_view.setHtml("")
            return

        selected_row = self.widget_list.currentRow()
        if selected_row < 0 and n_widgets:
            selected_row = n_widgets - 1
            self.widget_list.setCurrentRow(selected_row)

        html = self.report_html_template
        html += "<body>"

After Change


        html = self.report_html_template
        html += "<body>"
        for i in range(self.table_model.rowCount()):
            item = self.table_model.item(i)
            html += "<div id="%s" class="normal" " \
                    "onClick="pybridge._select_item(this.id)">%s</div>" % \
                    (item.id, item.html)
        html += "</body></html>"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: biolab/orange3
Commit Name: 2dcfbc69466198929f81fcdb4c5ca06ace7b1d2e
Time: 2015-10-30
Author: tankovesna@hotmail.com
File Name: Orange/canvas/report/owreport.py
Class Name: OWReport
Method Name: _build_html


Project Name: PIQuIL/QuCumber
Commit Name: cfa828f6349317ce50a610cd31bb3dcf5e5ea211
Time: 2019-06-05
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/training_statistics.py
Class Name:
Method Name: fidelity


Project Name: PIQuIL/QuCumber
Commit Name: 274ec230054107d30bb91de43ec42b7393170928
Time: 2019-07-17
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/training_statistics.py
Class Name:
Method Name: NLL


Project Name: biolab/orange3
Commit Name: 0fa9c2ab21ebaeb91466f146a43259e8b5b0cd05
Time: 2015-12-04
Author: tankovesna@hotmail.com
File Name: Orange/canvas/report/owreport.py
Class Name: OWReport
Method Name: _build_html