def runSimulation(self): run_model = self.getCurrentSimulationMode() dialog = RunDialog(run_model) dialog.startSimulation() dialog.exec_() CaseList().externalModificationNotification() # simulations may have added new cases.
def runSimulation(self): simulation_model = SimulationModeModel().getCurrentChoice() simulation_runner = SimulationRunner(simulation_model) dialog = RunDialog(simulation_runner) simulation_runner.start() dialog.exec_() self.updateSimulationStatus()
def runSimulation(self): case_name = CaseSelectorModel().getCurrentChoice() message = "Are you sure you want to use case '%s' for initialization of the initial ensemble when running the simulations?" % case_name start_simulations = QMessageBox.question(self, "Start simulations?", message, QMessageBox.Yes | QMessageBox.No ) if start_simulations == QMessageBox.Yes: run_model = self.getCurrentSimulationMode() dialog = RunDialog(run_model, self) dialog.startSimulation() dialog.exec_() CaseList().externalModificationNotification() # simulations may have added new cases.
def runSimulation(self): case_name = CaseSelectorModel().getCurrentChoice() message = "Are you sure you want to use case '%s' for initialization of the initial ensemble when running the simulations?" % case_name start_simulations = QMessageBox.question(self, "Start simulations?", message, QMessageBox.Yes | QMessageBox.No ) if start_simulations == QMessageBox.Yes: run_model = self.getCurrentSimulationMode() dialog = RunDialog(run_model) dialog.startSimulation() dialog.exec_() CaseList().externalModificationNotification() # simulations may have added new cases.