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: 13
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: dpressel/mead-baseline
Commit Name: 8a420e8ef11ebf828e5e5b33e8a830eb74c39d6a
Time: 2020-03-09
Author: blester125@gmail.com
File Name: baseline/services.py
Class Name: ClassifierService
Method Name: predict
Project Name: Calamari-OCR/calamari
Commit Name: fb08a6d154a8aa5beabc18de4400476a928ed644
Time: 2021-01-19
Author: wick.chr@gmail.com
File Name: calamari_ocr/ocr/training/trainer.py
Class Name: CalamariTrainer
Method Name: train