summaryrefslogtreecommitdiff
path: root/Container.py
diff options
context:
space:
mode:
authorbrenda-br2023-01-03 16:13:52 -0800
committerbrenda-br2023-01-03 16:13:52 -0800
commitdeab0a09d17bebb93dc02a7661befeb7e0c2ef97 (patch)
tree1cbd5c726c76fc93943d5186709b6114f094f209 /Container.py
parent32cc0dab87da7d77fed7c67d9adfabe3274bfd4e (diff)
downloadChemical-Simulator-GUI-deab0a09d17bebb93dc02a7661befeb7e0c2ef97.tar.gz
Chemical-Simulator-GUI-deab0a09d17bebb93dc02a7661befeb7e0c2ef97.tar.bz2
Chemical-Simulator-GUI-deab0a09d17bebb93dc02a7661befeb7e0c2ef97.zip
Fix#29 => Short Successful Simulation Message
Diffstat (limited to 'Container.py')
-rw-r--r--Container.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Container.py b/Container.py
index 28e2ba8..443a8bd 100644
--- a/Container.py
+++ b/Container.py
@@ -148,9 +148,10 @@ class Container():
self.result=self.flowsheet.result_data
if(len(self.result)== 4):
- self.msg_browser()
+ #self.msg_browser()
+ self.msg.append("<span style=\"color:green\">["+str(self.current_time())+"] Simulation <b>Successful.</b></span>")
else:
- self.msg.append("<span style=\"color:red\">["+str(self.current_time())+"] Simulation <b>Failed</b></span>")
+ self.msg.append("<span style=\"color:red\">["+str(self.current_time())+"] Simulation <b>Failed.</b></span>")
#print("under Eqn mode simulation")
if(len(self.result)== 4):