summaryrefslogtreecommitdiff
path: root/Container.py
diff options
context:
space:
mode:
Diffstat (limited to 'Container.py')
-rw-r--r--Container.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Container.py b/Container.py
index c77d631..397aaf0 100644
--- a/Container.py
+++ b/Container.py
@@ -127,7 +127,7 @@ class Container():
print(mode)
self.compounds = compound_selected
self.flowsheet = Flowsheet()
- self.flowsheet.add_compound_list(self.compounds)
+ self.flowsheet.add_compound_list([c[:c.index('(')] for c in self.compounds])
print("######## connection master#########\n",self.conn)
for i in self.unit_operations :
self.flowsheet.add_unit_operations(i)