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
if self.internalDatasetNameComboBox.isEnabled() and self.internalDatasetNameComboBox.currentIndex() != -1:
internal_path = self.internalDatasetNameComboBox.currentText()
else:
internal_path = ""
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,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
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: pandas-dev/pandas
Commit Name: 6ff2e7c602123787c3b0061466ab5bb8663eae81
Time: 2021-01-18
Author: twoertwein@users.noreply.github.com
File Name: pandas/_testing/contexts.py
Class Name:
Method Name: ensure_clean
Project Name: ilastik/ilastik
Commit Name: 06103f990e84cf1a14cb0eb9cc11e114bb8052c2
Time: 2020-04-29
Author: tom.fogaca@gmail.com
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: DatasetInfo
Method Name: expand_path