QtWidgets.QMessageBox.information(self,str('Something is wrong').encode('utf-8'),str('Not all the variables under the tracer tab have been defined!').encode('utf-8'),QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)
QtWidgets.QMessageBox.information(self,'Something is wrong','Not all the variables under the tracer tab have been defined!',QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)
ifself.ice_tab.isEnabled()isTrue:
...
...
@@ -210,7 +210,7 @@ class Ncml_generator(QtWidgets.QDialog):
QtWidgets.QMessageBox.information(self,str('Something is wrong').encode('utf-8'),str('Not all the variables under the ice tab have been defined!').encode('utf-8'),QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)
QtWidgets.QMessageBox.information(self,'Something is wrong','Not all the variables under the ice tab have been defined!',QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)
ifself.dynamic_tab.isEnabled()isTrue:
ifself.dynamic_tab.vozocrtx.src!=""and \
...
...
@@ -218,7 +218,7 @@ class Ncml_generator(QtWidgets.QDialog):
QtWidgets.QMessageBox.information(self,str('Something is wrong').encode('utf-8'),str('Not all the variables under the dynamics tab have been defined!').encode('utf-8'),QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)
QtWidgets.QMessageBox.information(self,'Something is wrong','Not all the variables under the dynamics tab have been defined!',QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)
ifself.grid_tab.isEnabled()isTrue:
ifself.grid_tab.gdept.src!=""and \
...
...
@@ -229,14 +229,14 @@ class Ncml_generator(QtWidgets.QDialog):
QtWidgets.QMessageBox.information(self,str('Something is wrong').encode('utf-8'),str('Not all the variables under the grid tab have been defined!').encode('utf-8'),QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)
QtWidgets.QMessageBox.information(self,'Something is wrong','Not all the variables under the grid tab have been defined!',QtWidgets.QMessageBox.Ok,QtWidgets.QMessageBox.Ok)