diff options
author | Priyam Nayak | 2020-12-10 17:50:35 +0530 |
---|---|---|
committer | GitHub | 2020-12-10 17:50:35 +0530 |
commit | 4e96691bc758904e05d0e03f0368dcbcd1efaec3 (patch) | |
tree | d5de378e04ab07ad8f3d31e82ca4cd90c307de8d /UnitOperations.py | |
parent | c2717ef3d507858dd73a82c3b16b60dbc2ca98d3 (diff) | |
parent | b9b3b6c1d78cc184b7ca73fa3c65cf9186dcfa83 (diff) | |
download | Chemical-Simulator-GUI-4e96691bc758904e05d0e03f0368dcbcd1efaec3.tar.gz Chemical-Simulator-GUI-4e96691bc758904e05d0e03f0368dcbcd1efaec3.tar.bz2 Chemical-Simulator-GUI-4e96691bc758904e05d0e03f0368dcbcd1efaec3.zip |
Merge pull request #10 from pravindalve/master
Fixes for issue #6
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 |