219459f15476426276e24329cdb6f091b5f7cf41,ilastik/applets/dataSelection/dataSelectionSerializer.py,DataSelectionSerializer,importStackAsLocalDataset,#DataSelectionSerializer#Any#Any#,201
Before Change
globstring = info.filePath
info.location = DatasetInfo.Location.ProjectInternal
firstPathParts = PathComponents(info.filePath.split(os.path.pathsep)[0])
info.filePath = firstPathParts.externalDirectory + "/??" + firstPathParts.extension
info.fromstack = True
// Use absolute path
cwd = self.topLevelOperator.WorkingDirectory
if os.path.pathsep not in globstring and not os.path.isabs(globstring):
globstring = os.path.normpath( os.path.join(cwd, globstring) )
if firstPathParts.extension.lower() in OpTiffReader.TIFF_EXTS:
// Special loader for TIFFs
opLoader = OpTiffSequenceReader( parent=self.topLevelOperator.parent )
After Change
// Use absolute path
cwd = self.topLevelOperator.WorkingDirectory
abs_paths = [getPathVariants(path, cwd)[0 if isRelative(path) else 1] for path in paths]
firstPathParts = PathComponents(files[0])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: ilastik/ilastik
Commit Name: 219459f15476426276e24329cdb6f091b5f7cf41
Time: 2019-06-26
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/dataSelectionSerializer.py
Class Name: DataSelectionSerializer
Method Name: importStackAsLocalDataset
Project Name: scipy/scipy
Commit Name: 566bb6fa0b6152916c04667b9cff67648555896e
Time: 2006-07-07
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_classification.py
Class Name:
Method Name:
Project Name: ilastik/ilastik
Commit Name: 219459f15476426276e24329cdb6f091b5f7cf41
Time: 2019-06-26
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/dataSelectionSerializer.py
Class Name: DataSelectionSerializer
Method Name: importStackAsLocalDataset
Project Name: scipy/scipy
Commit Name: 566bb6fa0b6152916c04667b9cff67648555896e
Time: 2006-07-07
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_libsvm.py
Class Name:
Method Name: