summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpravindalve2021-04-17 16:59:23 +0530
committerpravindalve2021-04-17 16:59:23 +0530
commit6a8558c1c988016d93d7c780692b6b789a2a03e9 (patch)
tree895f25450ca6c0798646996c181a9887096a4bab
parenta26b332427b3f871bd11162c0b8d109656bef0d1 (diff)
downloadChemical-Simulator-GUI-6a8558c1c988016d93d7c780692b6b789a2a03e9.tar.gz
Chemical-Simulator-GUI-6a8558c1c988016d93d7c780692b6b789a2a03e9.tar.bz2
Chemical-Simulator-GUI-6a8558c1c988016d93d7c780692b6b789a2a03e9.zip
Fixes for issue #14
-rw-r--r--DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pycbin8254 -> 8471 bytes
-rw-r--r--Undo.datbin3458 -> 55552 bytes
-rw-r--r--UnitOperations.py4
3 files changed, 2 insertions, 2 deletions
diff --git a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
index 395ced6..5c052ae 100644
--- a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
+++ b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
Binary files differ
diff --git a/Undo.dat b/Undo.dat
index 3684b24..314d594 100644
--- a/Undo.dat
+++ b/Undo.dat
Binary files differ
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