diff options
-rw-r--r-- | DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc | bin | 8254 -> 8471 bytes | |||
-rw-r--r-- | Undo.dat | bin | 3458 -> 55552 bytes | |||
-rw-r--r-- | UnitOperations.py | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc Binary files differBinary files differindex 395ced6..5c052ae 100644 --- a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc +++ b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc 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 |