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


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

Frequency: 3

Non-data size: 4

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: matplotlib/matplotlib
Commit Name: 21e7d2ca9cfa51ceaf46d65a5ec30abfcdc5bffe
Time: 2019-03-30
Author: tcaswell@gmail.com
File Name: examples/text_labels_and_annotations/stix_fonts_demo.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 23dad88287331e254e119634bc991d1e8bbb8668
Time: 2019-03-25
Author: anntzer.lee@gmail.com
File Name: examples/text_labels_and_annotations/stix_fonts_demo.py
Class Name:
Method Name: