diff options
author | brenda-br | 2023-02-08 11:42:41 +0530 |
---|---|---|
committer | brenda-br | 2023-02-08 11:42:41 +0530 |
commit | bad6aa3bbb7423015cf3a2e44c9502ff78eb0ae8 (patch) | |
tree | 24be5617f8601f56f3d8cf5398505e8342a85dd5 | |
parent | d643725ec82636f82c909d37b1517479ad572ea7 (diff) | |
download | Chemical-Simulator-GUI-bad6aa3bbb7423015cf3a2e44c9502ff78eb0ae8.tar.gz Chemical-Simulator-GUI-bad6aa3bbb7423015cf3a2e44c9502ff78eb0ae8.tar.bz2 Chemical-Simulator-GUI-bad6aa3bbb7423015cf3a2e44c9502ff78eb0ae8.zip |
Fix #52 Fix value for x_pc
-rw-r--r-- | Container.py | 2 | ||||
-rw-r--r-- | DockWidgets/DockWidget.py | 2 | ||||
-rw-r--r-- | DockWidgets/__pycache__/DockWidget.cpython-37.pyc | bin | 4747 -> 4731 bytes | |||
-rw-r--r-- | Streams.py | 2 | ||||
-rw-r--r-- | Undo.dat | bin | 0 -> 16379 bytes |
5 files changed, 3 insertions, 3 deletions
diff --git a/Container.py b/Container.py index 71787e5..fd353dc 100644 --- a/Container.py +++ b/Container.py @@ -156,7 +156,7 @@ class Container(): self.graphicsView.setInteractive(True) s_cursor = cursor = QCursor( Qt.ArrowCursor ) QApplication.instance().setOverrideCursor(s_cursor) - + if(len(self.result)== 4): #self.msg_browser() self.msg.append("<span style=\"color:green\">["+str(self.current_time())+"] Simulation <b>Successful.</b></span>") diff --git a/DockWidgets/DockWidget.py b/DockWidgets/DockWidget.py index 7f7c7d5..bb8ddf5 100644 --- a/DockWidgets/DockWidget.py +++ b/DockWidgets/DockWidget.py @@ -129,7 +129,7 @@ class DockWidget(QDockWidget,ui_dialog): #print(variKeys) for i, val in enumerate(variKeys): propertyname = name + '.' + val - print(i,val, propertyname) + #print(i,val, propertyname) if propertyname in result[0]: ind = result[0].index(propertyname) resultval = str(result[-1][ind]) diff --git a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc Binary files differindex 6838fb3..490d62f 100644 --- a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc +++ b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc @@ -441,5 +441,5 @@ class MaterialStream(): dockwidget.cbTP.setDisabled(True) dockwidget.pushButton_2.setDisabled(True) for index,k in enumerate(dockwidget.x_pclist): - k.setText(str(self.variables['x_pc']['value'][index])) + k.setText(str(self.variables['x_pc[1,'+ str(index+1)+']']['value'])) k.setDisabled(True) Binary files differ |