diff options
author | pravindalve | 2020-12-03 21:25:50 +0530 |
---|---|---|
committer | pravindalve | 2020-12-03 21:25:50 +0530 |
commit | a1a966934198e67c3a7bcc8236ed51503ae48a04 (patch) | |
tree | fe5629b984462fd3c1a78b303f65428ec4ff6204 /UnitOperations.py | |
parent | 37566839d914ce9e155b63d4df57daf46001d2bf (diff) | |
download | Chemical-Simulator-GUI-a1a966934198e67c3a7bcc8236ed51503ae48a04.tar.gz Chemical-Simulator-GUI-a1a966934198e67c3a7bcc8236ed51503ae48a04.tar.bz2 Chemical-Simulator-GUI-a1a966934198e67c3a7bcc8236ed51503ae48a04.zip |
Fixes for reloading saving file
Diffstat (limited to 'UnitOperations.py')
-rw-r--r-- | UnitOperations.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/UnitOperations.py b/UnitOperations.py index 410cdd1..08a871d 100644 --- a/UnitOperations.py +++ b/UnitOperations.py @@ -48,7 +48,6 @@ class UnitOperation(): for k,v in params.items(): if k == 'Thermo Package': self.thermo_package = v - print('haha') elif k != self.mode: self.k = v self.variables[k]['value'] = v @@ -152,7 +151,7 @@ class UnitOperation(): self.OM_data_eqn += ('connect(' + self.name + '.Out,' + self.output_stms[0].name + '.In);\n') if self.mode: - self.OM_data_eqn += (self.name + '.' + self.mode + '=' + self.mode_val + ';\n') + self.OM_data_eqn += (self.name + '.' + self.mode + '=' + str(self.mode_val) + ';\n') return self.OM_data_eqn |