diff options
author | SaurabhAgarwala | 2019-12-16 07:58:03 +0530 |
---|---|---|
committer | SaurabhAgarwala | 2019-12-16 07:58:03 +0530 |
commit | 68e33f34e454c6cea16db04ff7b1a73a9c670de1 (patch) | |
tree | ceb14ba6b06942e1998f6fdc0e9dd427945bd286 /container.py | |
parent | d77a48ced21b2c5f8293148379f061897c50d4f4 (diff) | |
download | Chemical-Simulator-GUI-68e33f34e454c6cea16db04ff7b1a73a9c670de1.tar.gz Chemical-Simulator-GUI-68e33f34e454c6cea16db04ff7b1a73a9c670de1.tar.bz2 Chemical-Simulator-GUI-68e33f34e454c6cea16db04ff7b1a73a9c670de1.zip |
Added normailizing feature, and enhanced readability
Diffstat (limited to 'container.py')
-rw-r--r-- | container.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/container.py b/container.py index 91d4833..89fb897 100644 --- a/container.py +++ b/container.py @@ -30,6 +30,7 @@ class Container(): def updateConn(self,key,value): self.conn[key].append(value) self.msg.append("<span style=\"color:blue\">["+str(self.currentTime())+"]<b> "+key.name+" </b> output is connected to input of<b> "+value.name +" </b></span>") + def addUnitOp(self,obj): if(obj in self.unitOp): pass @@ -41,6 +42,7 @@ class Container(): for i in self.unitOp: if(i.name==name): return i + def addCompounds(self,comp): self.compounds = comp |