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


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

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: CellProfiler/CellProfiler
Commit Name: 02bb4ed03e72ddf68e6d1aa986f428baf0afe014
Time: 2020-08-17
Author: dstirling@broadinstitute.org
File Name: cellprofiler/modules/measuretexture.py
Class Name: MeasureTexture
Method Name: run_one


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