diff options
author | pravindalve | 2021-04-17 16:59:23 +0530 |
---|---|---|
committer | pravindalve | 2021-04-17 16:59:23 +0530 |
commit | 6a8558c1c988016d93d7c780692b6b789a2a03e9 (patch) | |
tree | 895f25450ca6c0798646996c181a9887096a4bab /UnitOperations.py | |
parent | a26b332427b3f871bd11162c0b8d109656bef0d1 (diff) | |
download | Chemical-Simulator-GUI-6a8558c1c988016d93d7c780692b6b789a2a03e9.tar.gz Chemical-Simulator-GUI-6a8558c1c988016d93d7c780692b6b789a2a03e9.tar.bz2 Chemical-Simulator-GUI-6a8558c1c988016d93d7c780692b6b789a2a03e9.zip |
Fixes for issue #14
Diffstat (limited to 'UnitOperations.py')
-rw-r--r-- | UnitOperations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnitOperations.py b/UnitOperations.py index f15d7d6..ba7a763 100644 --- a/UnitOperations.py +++ b/UnitOperations.py @@ -468,10 +468,10 @@ class CompoundSeparator(UnitOperation): SepVal = json.dumps(self.variables['SepVal_c']['value']).replace('[','{').replace(']','}') self.OM_data_eqn = '' - self.OM_data_eqn += ('connect(' + self.name + '.In,' + self.input_stms[0].name + '.Out);\n') + self.OM_data_eqn += ('connect(' + self.name + '.In,' + self.input_stms[1].name + '.Out);\n') strcount = 1 - for strm in self.output_stms: + for strm in self.output_stms.values(): self.OM_data_eqn += ('connect(' + strm.name + '.In,' + self.name + '.Out' + str(strcount) + ');\n') strcount += 1 |