b3c09f8cd9a89b6cf9b984078531e1e16ab4d737,classification/saveDialog.py,SaveDialog,exec_,#SaveDialog#,22

Before Change


    
    def exec_(self):
        if QDialog.exec_(self) == QDialog.Accepted:
            return  self.lineEdit.text()
        else:
            return "Cancel"
        
if __name__ == "__main__":

After Change


    
    def exec_(self):
        if QDialog.exec_(self) == QDialog.Accepted:
            if self.radioButtonStack.isChecked():
                key = self.createKeyForSubvolume()
                writer = OpStackWriter(self.graph)
                writer.inputs["input"].connect(self.workflow.images.outputs["Outputs"][0])
                writer.inputs["Filepath"].setValue(str(self.folderPath + "/" + self.lineEditFileName.displayText()))
                writer.inputs["Filetype"].setValue(str(self.comboBoxFileTypes.currentText()))
                writer.outputs["WritePNGStack"][key].allocate().wait()
            if self.radioButtonH5.isChecked():
                pass
            
            
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ilastik/ilastik
Commit Name: b3c09f8cd9a89b6cf9b984078531e1e16ab4d737
Time: 2012-02-24
Author: opetra@ubuntu.(none)
File Name: classification/saveDialog.py
Class Name: SaveDialog
Method Name: exec_


Project Name: wkentaro/labelme
Commit Name: 6117ec6153cd9e11192e98ca2dfbd1888574cff6
Time: 2018-04-14
Author: www.kentaro.wada@gmail.com
File Name: labelme/labelDialog.py
Class Name: LabelDialog
Method Name: validate


Project Name: wkentaro/labelme
Commit Name: 6117ec6153cd9e11192e98ca2dfbd1888574cff6
Time: 2018-04-14
Author: www.kentaro.wada@gmail.com
File Name: labelme/labelDialog.py
Class Name: LabelDialog
Method Name: postProcess