diff options
author | Priyam Nayak | 2021-02-09 18:32:14 +0530 |
---|---|---|
committer | GitHub | 2021-02-09 18:32:14 +0530 |
commit | 47a2cf43129fa18cbac56df8d53208a1b21ea4f7 (patch) | |
tree | 1e966c67a1c2e920c2e0521f2517058a7732d2aa /Container.py | |
parent | 4e96691bc758904e05d0e03f0368dcbcd1efaec3 (diff) | |
parent | 3dd09f5b8d5326ce57db71da1fac77386dfbd700 (diff) | |
download | Chemical-Simulator-GUI-47a2cf43129fa18cbac56df8d53208a1b21ea4f7.tar.gz Chemical-Simulator-GUI-47a2cf43129fa18cbac56df8d53208a1b21ea4f7.tar.bz2 Chemical-Simulator-GUI-47a2cf43129fa18cbac56df8d53208a1b21ea4f7.zip |
Merge pull request #11 from pravindalve/master
Fixes for reloading data
Diffstat (limited to 'Container.py')
-rw-r--r-- | Container.py | 2 |
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) |