Ignore:
Timestamp:
Feb 24, 2020 2:13:56 PM (5 years ago)
Author:
maronga
Message:

added steering for NetCDF output for wind turbine model; minor fix in palmrungui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrungui

    r4411 r4420  
    2525# -----------------
    2626# $Id$
     27# Bugfix: minor fixes related to start buttons
     28#
     29# 4411 2020-02-18 14:28:02Z maronga
    2730# Added new features: individual tag for submitted runs, automatic finding of
    2831# configuration, start of palmbuild from GUI
     
    177180    def startpalmrun(self):
    178181        palmrunline = str(self.groupBox.findChild(QtGui.QLineEdit,"commandline").text())
    179         userline = str(self.group_advanced.findChild(QtGui.QLineEdit,"line_user").text())
     182        userline    = str(self.group_advanced.findChild(QtGui.QLineEdit,"line_user").text())
    180183       
    181184        # Check for empty line
     
    246249        palmbuildline = 'palmbuild -c ' + str(self.group_execution.findChild(QtGui.QComboBox, "combo_configuration").currentText())
    247250       
     251        palmrunline_save = str(self.groupBox.findChild(QtGui.QLineEdit,"commandline").text())
     252       
    248253        # Disable the main window
     254        palmbuildline_save = palmbuildline
    249255        self.tabWidget.setEnabled(False)
    250256        self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(False)
    251257        self.groupBox.findChild(QtGui.QLineEdit,"line_tag").setEnabled(False) 
     258        self.groupBox.findChild(QtGui.QPushButton,"button_start").setText("wait...") 
     259        self.group_execution.findChild(QtGui.QPushButton,"button_palmbuild").setText("wait...")
    252260        self.groupBox.findChild(QtGui.QLineEdit,"commandline").setText("Executing palmbuild in xterm...")       
    253261       
     
    284292        self.groupBox.findChild(QtGui.QPushButton,"button_start").setEnabled(True)
    285293        self.groupBox.findChild(QtGui.QLineEdit,"line_tag").setEnabled(True)
    286        
     294        self.groupBox.findChild(QtGui.QPushButton,"button_start").setText("palmrun")
     295        self.groupBox.findChild(QtGui.QLineEdit,"commandline").setText(palmrunline_save)
     296        self.group_execution.findChild(QtGui.QPushButton,"button_palmbuild").setText("(re-)build")     
    287297        # Reload recent jobs
    288298        self.recent_jobs(50)
Note: See TracChangeset for help on using the changeset viewer.