summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrenda-br2023-02-08 11:42:41 +0530
committerbrenda-br2023-02-08 11:42:41 +0530
commitbad6aa3bbb7423015cf3a2e44c9502ff78eb0ae8 (patch)
tree24be5617f8601f56f3d8cf5398505e8342a85dd5
parentd643725ec82636f82c909d37b1517479ad572ea7 (diff)
downloadChemical-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.py2
-rw-r--r--DockWidgets/DockWidget.py2
-rw-r--r--DockWidgets/__pycache__/DockWidget.cpython-37.pycbin4747 -> 4731 bytes
-rw-r--r--Streams.py2
-rw-r--r--Undo.datbin0 -> 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
index 6838fb3..490d62f 100644
--- a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
+++ b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
Binary files differ
diff --git a/Streams.py b/Streams.py
index 319819d..3118a41 100644
--- a/Streams.py
+++ b/Streams.py
@@ -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)
diff --git a/Undo.dat b/Undo.dat
index e69de29..9d4d6c1 100644
--- a/Undo.dat
+++ b/Undo.dat
Binary files differ