summaryrefslogtreecommitdiff
path: root/Simulator
diff options
context:
space:
mode:
authorpravindalve2021-04-14 12:28:10 +0530
committerGitHub2021-04-14 12:28:10 +0530
commit200cb9d719d0b8f702571479c086d915b1a4224c (patch)
tree6944fbe760df89e5d418c7e768666113320947e0 /Simulator
parentd11902175b1bfb5c4fc854b3335fc5686a725647 (diff)
parentfaffb95d8b6bbea5a55efc3550b8e8357d3b381e (diff)
downloadChemical-Simulator-GUI-200cb9d719d0b8f702571479c086d915b1a4224c.tar.gz
Chemical-Simulator-GUI-200cb9d719d0b8f702571479c086d915b1a4224c.tar.bz2
Chemical-Simulator-GUI-200cb9d719d0b8f702571479c086d915b1a4224c.zip
Merge pull request #19 from pravindalve/master
Fixes
Diffstat (limited to 'Simulator')
-rw-r--r--Simulator/Databases/Databases.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Simulator/Databases/Databases.py b/Simulator/Databases/Databases.py
index 4b3a4c6..d6e0b46 100644
--- a/Simulator/Databases/Databases.py
+++ b/Simulator/Databases/Databases.py
@@ -60,6 +60,7 @@ class ChemsepDatabase():
CompName = CompName.replace("3","Three")
CompName = CompName.replace("4","Four")
CompName = CompName.replace("5","Five")
+
CAS = comp.getElementsByTagName("CAS")[0].getAttribute("value")
CriticalTemp = comp.getElementsByTagName("CriticalTemperature")[0].getAttribute("value")
CriticalPres = comp.getElementsByTagName("CriticalPressure")[0].getAttribute("value")