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)

        // Init child widgets

After Change


        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
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

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: 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


Project Name: hyperspy/hyperspy
Commit Name: cf4b1078573d69bbb5c511a22300f42ff2b0da76
Time: 2016-11-29
Author: t.ostasevicius@gmail.com
File Name: hyperspy/samfire_utils/samfire_worker.py
Class Name: Worker
Method Name: send_results