1585f8c89d8c887fa0462d9ecf021c90498463ec,qiskit_acqua/ui/run/_preferencesdialog.py,PreferencesDialog,validate,#PreferencesDialog#,103

Before Change


    
    def validate(self):
        self.initial_focus = self._qconfigview.initial_focus
        return self._qconfigview.validate()

    def apply(self):
        try:
            level_name = self._levelCombo.get()

After Change


            self.initial_focus = self._qconfigview.initial_focus
            return False
        
        if not self._packagesPage.validate():
            self.initial_focus = self._packagesPage.initial_focus
            return False
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 1585f8c89d8c887fa0462d9ecf021c90498463ec
Time: 2018-07-09
Author: manoel@us.ibm.com
File Name: qiskit_acqua/ui/run/_preferencesdialog.py
Class Name: PreferencesDialog
Method Name: validate


Project Name: ray-project/ray
Commit Name: 7b27ce2b236e29d82e33c5e07645f845d433973c
Time: 2020-03-27
Author: maximsmol@gmail.com
File Name: python/ray/util/sgd/torch/torch_trainer.py
Class Name: TorchTrainer
Method Name: validate


Project Name: Qiskit/qiskit-aqua
Commit Name: 764a7cc4609894caa2db5205dd95163d69ac7824
Time: 2018-06-18
Author: manoel@us.ibm.com
File Name: qiskit_acqua/ui/run/_preferencesdialog.py
Class Name: PreferencesDialog
Method Name: validate