summaryrefslogtreecommitdiff
path: root/OMChem
diff options
context:
space:
mode:
authorAyush Agrawal2020-01-02 16:16:18 +0530
committerAyush Agrawal2020-01-02 16:16:18 +0530
commit4138fd762a45b15dc7dfea661a93a047a0eba4a0 (patch)
treefc73e650efa51542e6806bfd6d37cde393d5b81a /OMChem
parentf03c3898b95663c3b2b868b5de122f682773c51b (diff)
downloadChemical-Simulator-GUI-4138fd762a45b15dc7dfea661a93a047a0eba4a0.tar.gz
Chemical-Simulator-GUI-4138fd762a45b15dc7dfea661a93a047a0eba4a0.tar.bz2
Chemical-Simulator-GUI-4138fd762a45b15dc7dfea661a93a047a0eba4a0.zip
Added Tool-tip in graph
Diffstat (limited to 'OMChem')
-rw-r--r--OMChem/Flowsheet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/OMChem/Flowsheet.py b/OMChem/Flowsheet.py
index a113d66..78552ae 100644
--- a/OMChem/Flowsheet.py
+++ b/OMChem/Flowsheet.py
@@ -42,7 +42,7 @@ class Flowsheet():
for i in unitOpr.extra:
unitOpr.OM_data_init += ('model '+i+str(unitOpr.counter)+'\n')
unitOpr.OM_data_init += ('extends Simulator.Unit_Operations.'+i+';\n')
- unitOpr.OM_data_init += ('extends Simulator.Files.Thermodynamic_Packages.'+unitOpr.thermoPack+';\n')
+ unitOpr.OM_data_init += ('extends Simulator.Files.Thermodynamic_Packages.'+unitOpr.thermoPackage+';\n')
unitOpr.OM_data_init += ('end '+i+str(unitOpr.counter)+';\n')
unitOpr.OM_data_init += i+str(unitOpr.counter) + ' ' + unitOpr.name + '(NOC = ' + str(len(self.compounds))
@@ -52,7 +52,7 @@ class Flowsheet():
if i!=(len(unitOpr.extra)-1):
unitOpr.OM_data_init += ('model '+unitOpr.ForNaming[i]+str(unitOpr.counter)+'\n')
unitOpr.OM_data_init += ('extends Simulator.Unit_Operations.'+unitOpr.extra[i]+';\n')
- unitOpr.OM_data_init += ('extends Simulator.Files.Thermodynamic_Packages.'+unitOpr.thermoPack+';\n')
+ unitOpr.OM_data_init += ('extends Simulator.Files.Thermodynamic_Packages.'+unitOpr.thermoPackage+';\n')
unitOpr.OM_data_init += ('end '+unitOpr.ForNaming[i]+str(unitOpr.counter)+';\n')
else:
unitOpr.OM_data_init += ('model '+unitOpr.ForNaming[i]+str(unitOpr.counter)+'\n')