0673940c840118edf2b74d57dd93d5dd648a61a0,invesalius/control.py,Controller,OnOpenOtherFiles,#Controller#Any#,872

Before Change


    def OnOpenOtherFiles(self, filepath):
        filepath = utils.decode(filepath, const.FS_ENCODE)
        if not(filepath) == None:
            name = os.path.basename(filepath).split(".")[0]
            group = oth.ReadOthers(filepath)
            if group:
                matrix, matrix_filename = self.OpenOtherFiles(group)

After Change


    def OnOpenOtherFiles(self, filepath):
        filepath = utils.decode(filepath, const.FS_ENCODE)
        if not(filepath) == None:
            name = filepath.rpartition("\\")[-1].split(".")

            group = oth.ReadOthers(filepath)
            
            if group:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: invesalius/invesalius3
Commit Name: 0673940c840118edf2b74d57dd93d5dd648a61a0
Time: 2020-08-20
Author: victor.souza@aalto.fi
File Name: invesalius/control.py
Class Name: Controller
Method Name: OnOpenOtherFiles


Project Name: metagenome-atlas/atlas
Commit Name: dd6190e78c5e8ac449c2b899045b6666dcd1fb3f
Time: 2018-05-25
Author: silas.kieser@gmail.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: get_stats_from_zips


Project Name: metagenome-atlas/atlas
Commit Name: 4a1b03b285c50a56c606a92b47b311f17157f55e
Time: 2018-06-01
Author: SilasK@users.noreply.github.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: get_stats_from_zips