265e2d3618167546d38adb2d88089727acbe3374,ilastik/applets/dataSelection/datasetInfoEditorWidget.py,DatasetInfoEditorWidget,_updateStorageCombo,#DatasetInfoEditorWidget#,721

Before Change


                storageSetting = StorageLocation.ProjectFile
            elif location == DatasetInfo.Location.FileSystem:
                // Determine if the path is relative or absolute
                if os.path.isabs(info.filePath):
                    storageSetting = StorageLocation.AbsoluteLink
                else:
                    storageSetting = StorageLocation.RelativeLink

After Change


                storageSetting = StorageLocation.ProjectFile
            elif location == DatasetInfo.Location.FileSystem:
                // Determine if the path is relative or absolute
                if isUrl(info.filePath) or os.path.isabs(info.filePath):
                    storageSetting = StorageLocation.AbsoluteLink
                else:
                    storageSetting = StorageLocation.RelativeLink
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ilastik/ilastik
Commit Name: 265e2d3618167546d38adb2d88089727acbe3374
Time: 2013-12-13
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: _updateStorageCombo


Project Name: ilastik/ilastik
Commit Name: 265e2d3618167546d38adb2d88089727acbe3374
Time: 2013-12-13
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: _applyStorageComboToTempOps


Project Name: ilastik/ilastik
Commit Name: 265e2d3618167546d38adb2d88089727acbe3374
Time: 2013-12-13
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/datasetDetailedInfoTableModel.py
Class Name: DatasetDetailedInfoTableModel
Method Name: _getDisplayRoleData