1f08e48e0508cbbeb762ce3277c341169e7df0c4,ilastik/applets/labeling/labelingImport.py,LabelImportOptionsDlg,__init__,#LabelImportOptionsDlg#Any#Any#Any#Any#Any#,206
Before Change
// Result values
output_tagged_shape = writeSeedsSlot.meta.getTaggedShape()
writeSeedsShape = map( lambda k: output_tagged_shape[k], dataInputSlot.meta.getAxisKeys() )
axisRanges = numpy.array(writeSeedsShape) - dataInputSlot.meta.shape
self.imageOffsets = LabelImportOptionsDlg._defaultImageOffsets(axisRanges, srcInputFiles, dataInputSlot)
self.labelMapping = LabelImportOptionsDlg._defaultLabelMapping(labelInfo)
After Change
self._insert_mapping_boxes = collections.OrderedDict()
write_seeds_tagged_shape = writeSeedsSlot.meta.getTaggedShape()
label_data_tagged_shape = dataInputSlot.meta.getTaggedShape()
axisRanges = ()
for k in label_data_tagged_shape.keys():
try:
axisRanges += (write_seeds_tagged_shape[k] - label_data_tagged_shape[k],)
except KeyError:
axisRanges += (0,)
self.imageOffsets = LabelImportOptionsDlg._defaultImageOffsets(axisRanges, srcInputFiles, dataInputSlot)
self.labelMapping = LabelImportOptionsDlg._defaultLabelMapping(labelInfo)
// Init child widgets
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: ilastik/ilastik
Commit Name: 1f08e48e0508cbbeb762ce3277c341169e7df0c4
Time: 2015-11-18
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/labeling/labelingImport.py
Class Name: LabelImportOptionsDlg
Method Name: __init__
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 57093f504c933132bd403add1ed75a16123f5bc2
Time: 2015-09-16
Author: skschneider@google.com
File Name: perfkitbenchmarker/vm_util.py
Class Name:
Method Name: RunParallelProcesses
Project Name: ilastik/ilastik
Commit Name: 1f08e48e0508cbbeb762ce3277c341169e7df0c4
Time: 2015-11-18
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/labeling/labelingImport.py
Class Name: LabelImportOptionsDlg
Method Name: _initInsertPositionMappingWidgets