4fa0b64b44e4609a8d6043540b51dafd31f86793,lingpy/basic/spreadsheet.py,Spreadsheet,_init_matrix,#Spreadsheet#,246

Before Change


        for i in range(1, len(spreadsheet)):
            matrix_row = []
            // if the concept cell is empty skip if flagged
            if spreadsheet[i][concept_id] == "" and self.skip_empty_concepts:
                continue
            for j in range(0, len(spreadsheet[i])):
                if j == concept_id or j in language_indices:
                    matrix_row.append(spreadsheet[i][j])
            self.matrix.append(matrix_row)

After Change



            for j in range(0, len(spreadsheet[i])):
                if j == concept_id or j in language_indices:
                    matrix_row.append(spreadsheet[i][j].strip())
            self.matrix.append(matrix_row)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: lingpy/lingpy
Commit Name: 4fa0b64b44e4609a8d6043540b51dafd31f86793
Time: 2013-10-30
Author: bambooforest@gmail.com
File Name: lingpy/basic/spreadsheet.py
Class Name: Spreadsheet
Method Name: _init_matrix


Project Name: oddt/oddt
Commit Name: 178b1bc846ab4546c809771ae5fc2484790fd702
Time: 2018-05-17
Author: martasd@ibb.waw.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: IsResidueConnected


Project Name: open-mmlab/mmdetection
Commit Name: 2d2e5c6f42b6f4b8ab4f68985b1fd7823e3be505
Time: 2021-01-13
Author: 35596075+congee524@users.noreply.github.com
File Name: docs/stat.py
Class Name:
Method Name: