a21f0c3764214fc0171dccea0459695f157f478e,invesalius/project.py,Project,OpenPlistProject,#Project#Any#,254

Before Change


                self.presets = p
            elif key == "dicom_sample":
                path = os.path.join(dirpath, project[key])
                p = dicom.Parser()
                p.SetFileName(path)
                d = dicom.Dicom()
                d.SetParser(p)
                self.dicom_sample = d

After Change


                filepath = os.path.split(project[key]["filename"])[-1]
                path = os.path.join(dirpath, filepath)
                self.matrix_filename = path
                self.matrix_shape = project[key]["shape"]
                self.matrix_dtype = project[key]["dtype"]
            elif key == "presets":
                filepath = os.path.split(project[key]["//plist"])[-1]
                path = os.path.join(dirpath, filepath)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: invesalius/invesalius3
Commit Name: a21f0c3764214fc0171dccea0459695f157f478e
Time: 2011-12-28
Author: totonixsame@gmail.com
File Name: invesalius/project.py
Class Name: Project
Method Name: OpenPlistProject


Project Name: HazyResearch/fonduer
Commit Name: 3252f2117a4b693ca001613b13c28cc2d8cd9eb7
Time: 2020-02-14
Author: hiromu.hota@hal.hitachi.com
File Name: tests/candidates/test_candidates.py
Class Name:
Method Name: test_ngrams


Project Name: HazyResearch/fonduer
Commit Name: 3252f2117a4b693ca001613b13c28cc2d8cd9eb7
Time: 2020-02-14
Author: hiromu.hota@hal.hitachi.com
File Name: tests/candidates/test_candidates.py
Class Name:
Method Name: test_mention_longest_match