54752cfa38468abbab5580fae1a718bb41fe3f31,ilastik/applets/dataSelection/dataSelectionGui.py,DataSelectionGui,handleAddStack,#DataSelectionGui#Any#,289

Before Change


            return

        // If the user didn"t cancel
        if len(fileNames) > 0:
            PreferencesManager().set("DataSelection", "recent stack image", fileNames[0])
            // Convert into one big string, which is accepted by the stack loading operator
            bigString = "//".join( fileNames )
            self.importStackFromGlobString(bigString, roleIndex)

After Change



        laneIndex = self._findFirstEmptyLane(roleIndex)
        if len(self.topLevelOperator.DatasetGroup) < laneIndex+1:
            self.topLevelOperator.DatasetGroup.resize(laneIndex+1)

        def importStack():
            self.guiControlSignal.emit( ControlCommand.DisableAll )
            // Serializer will update the operator for us, which will propagate to the GUI.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 54752cfa38468abbab5580fae1a718bb41fe3f31
Time: 2013-04-19
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: handleAddStack


Project Name: chainer/chainercv
Commit Name: e686762e970ee4c0748242e735c2b068b9af89cf
Time: 2017-03-10
Author: yuyuniitani@gmail.com
File Name: chainercv/transforms/image/resize_transform.py
Class Name:
Method Name: resize


Project Name: ilastik/ilastik
Commit Name: 219459f15476426276e24329cdb6f091b5f7cf41
Time: 2019-06-26
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: addFileNames