8f75eddc160b86d20e1f65a47efe9f50e6e95f9d,classification/exportDlg.py,ExportDialog,setVolumeShapeInfo,#ExportDialog#,121

Before Change


    def setVolumeShapeInfo(self):
        text = ""
        for i in range(len(self.workflow.images.outputs["Outputs"][0].shape)):
            text = text + "%s : %d    " % (self.workflow.images.outputs["Outputs"][0].axistags[i].key, self.workflow.images.outputs["Outputs"][0].shape[i])
        self.labelShape.setText(text)
        
    def setLineEditFilePath(self, filePath):

After Change


    def setVolumeShapeInfo(self):
        for i in range(len(self.input.shape)):
            self.lineEditInputShapeList[i].setText("0 - %d" % (int(self.input.shape[i])-1))
            self.lineEditOutputShapeList[i].setText("0 - %d" % (int(self.input.shape[i])-1))
            
    def setRegExToLineEditOutputShape(self):
        r = QRegExp("([0-9]*)(-|\W)+([0-9]*)")
        for i in self.lineEditOutputShapeList:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 8f75eddc160b86d20e1f65a47efe9f50e6e95f9d
Time: 2012-03-07
Author: opetra@ubuntu.(none)
File Name: classification/exportDlg.py
Class Name: ExportDialog
Method Name: setVolumeShapeInfo


Project Name: ilastik/ilastik
Commit Name: 8861dfa21d1cfd487b7a6eb7508885f084f58e6c
Time: 2019-07-10
Author: tomaz.vieira@embl.de
File Name: tests/widgets/test_datasetInfoEditorWidget.py
Class Name:
Method Name: create_and_modify_widget


Project Name: ilastik/ilastik
Commit Name: 8861dfa21d1cfd487b7a6eb7508885f084f58e6c
Time: 2019-07-10
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: __init__