From faffb95d8b6bbea5a55efc3550b8e8357d3b381e Mon Sep 17 00:00:00 2001 From: pravindalve Date: Wed, 14 Apr 2021 01:00:06 +0530 Subject: Fixes for Compound Selector --- Simulator/Databases/Databases.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Simulator') 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") -- cgit