Example #1
0
    def runSimulation(self):
        run_model = self.getCurrentSimulationMode()

        dialog = RunDialog(run_model)
        dialog.startSimulation()
        dialog.exec_()

        CaseList().externalModificationNotification() # simulations may have added new cases.
Example #2
0
    def runSimulation(self):
        simulation_model = SimulationModeModel().getCurrentChoice()

        simulation_runner = SimulationRunner(simulation_model)


        dialog = RunDialog(simulation_runner)
        simulation_runner.start()
        dialog.exec_()

        self.updateSimulationStatus()
Example #3
0
    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.
Example #4
0
    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.