fcf9813198d63169d0e93c1086746645e9432218,ilastik/applets/dataSelection/datasetInfoEditorWidget.py,DatasetInfoEditorWidget,accept,#DatasetInfoEditorWidget#,262

Before Change


            else:
                filePath = info.filePath

            if newStorageLocation == StorageLocation.ProjectFile:
                location = DatasetInfo.Location.ProjectInternal
            elif newStorageLocation == StorageLocation.Default:
                location = info.location
            else:
                location = DatasetInfo.Location.FileSystem
                if newStorageLocation == StorageLocation.RelativeLink:
                    filePath = Path(filePath).absolute().relative_to(self.projectFileDir).as_posix()
                else:
                    filePath = Path(filePath).absolute().as_posix()

            edited_info = info.modified_with(
                nickname=self.nicknameEdit.text() if self.nicknameEdit.isEnabled() else info.nickname,
                axistags=self.get_new_axes_tags() or info.axistags,
                normalizeDisplay=info.normalizeDisplay if normalize is None else normalize,

After Change


        self.edited_infos = []
        for info in self.current_infos:
            location = info.location if new_location is None else new_location
            new_full_paths = [Path(ep) / internal_path for ep in info.external_paths]
            filepath = os.path.pathsep.join(str(path) for path in new_full_paths)

            edited_info = DatasetInfo(
                filepath=filepath,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: ilastik/ilastik
Commit Name: fcf9813198d63169d0e93c1086746645e9432218
Time: 2019-07-19
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: accept


Project Name: commonsense/conceptnet5
Commit Name: ebe6418f1ffc94dc7661abe765482f268d4b823a
Time: 2017-03-14
Author: joanna.teresa.duda@gmail.com
File Name: conceptnet5/vectors/evaluation/analogy.py
Class Name:
Method Name: evaluate


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3397e6bfd55584c62d64911ecdaf588ca3469b79
Time: 2020-04-01
Author: 31518063+kurtisvg@users.noreply.github.com
File Name: noxfile-template.py
Class Name:
Method Name: