gui/gui_mainLayout.py
def prerequisite_actions(self):
        """
        This function does all required actions at the beginning when we run the GUI.
        """
        self.hide_error_message()

        self.ui.show_all_curves.setDisabled(True)
        self.ui.sens.setDisabled(True)
        self.ui.show_grid.setDisabled(True)

        pathname = os.path.dirname(sys.argv[0])
        path = os.path.abspath(pathname)
        # self.phytoplankton_path = self.ui.phyto_path.setText(path.replace('gui', 'inputs/iop_files'))
        # self.bottom_path = self.ui.bottom_path.setText(path.replace('gui', 'inputs/bottom_files'))
        # self.executive_path = self.ui.exec_path.setText("Decide where will be 'jude2_install/bin'")
        self.verbose_value = self.ui.verbose_value.setText("6")
        self.report_parameter_value = self.ui.report_parameter_value.setText("Rrs")

        self.ui.progressBar.reset()
def prerequisite_actions(self):
        self.hide_error_message()

        self.ui.show_all_curves.setDisabled(True)
        self.ui.sens.setDisabled(True)
        self.ui.show_grid.setDisabled(True)

        pathname = os.path.dirname(sys.argv[0])
        path = os.path.abspath(pathname)
        # self.phytoplankton_path = self.ui.phyto_path.setText(path.replace('gui', 'inputs/iop_files'))
        # self.bottom_path = self.ui.bottom_path.setText(path.replace('gui', 'inputs/bottom_files'))
        # self.executive_path = self.ui.exec_path.setText("Decide where will be 'jude2_install/bin'")
        self.verbose_value = self.ui.verbose_value.setText("6")
        self.report_parameter_value = self.ui.report_parameter_value.setText("Rrs")

        self.ui.progressBar.reset()
def prerequisite_actions ( self ) : self . hide_error_message ( ) self . ui . show_all_curves . setDisabled ( True ) self . ui . sens . setDisabled ( True ) self . ui . show_grid . setDisabled ( True ) pathname = os . path . dirname ( sys . argv [ 0 ] ) path = os . path . abspath ( pathname ) # self.phytoplankton_path = self.ui.phyto_path.setText(path.replace('gui', 'inputs/iop_files')) # self.bottom_path = self.ui.bottom_path.setText(path.replace('gui', 'inputs/bottom_files')) # self.executive_path = self.ui.exec_path.setText("Decide where will be 'jude2_install/bin'") self . verbose_value = self . ui . verbose_value . setText ( "6" ) self . report_parameter_value = self . ui . report_parameter_value . setText ( "Rrs" ) self . ui . progressBar . reset ( )
This function does all required actions at the beginning when we run the GUI.
This function does all required actions at the beginning when we run the GUI .