diff options
author | pravindalve | 2021-04-14 12:28:10 +0530 |
---|---|---|
committer | GitHub | 2021-04-14 12:28:10 +0530 |
commit | 200cb9d719d0b8f702571479c086d915b1a4224c (patch) | |
tree | 6944fbe760df89e5d418c7e768666113320947e0 /ComponentSelector.py | |
parent | d11902175b1bfb5c4fc854b3335fc5686a725647 (diff) | |
parent | faffb95d8b6bbea5a55efc3550b8e8357d3b381e (diff) | |
download | Chemical-Simulator-GUI-200cb9d719d0b8f702571479c086d915b1a4224c.tar.gz Chemical-Simulator-GUI-200cb9d719d0b8f702571479c086d915b1a4224c.tar.bz2 Chemical-Simulator-GUI-200cb9d719d0b8f702571479c086d915b1a4224c.zip |
Merge pull request #19 from pravindalve/master
Fixes
Diffstat (limited to 'ComponentSelector.py')
-rw-r--r-- | ComponentSelector.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ComponentSelector.py b/ComponentSelector.py index c5ba6f5..79edef4 100644 --- a/ComponentSelector.py +++ b/ComponentSelector.py @@ -111,8 +111,8 @@ class ComponentSelector(QDialog,ui_dialog): self.CAS=self.obj.get_value(self.comp,'CAS') self.name=self.comp - self.molecular_formula=self.obj.get_value(self.comp,'Smiles') - self.molecular_weight=self.obj.get_value(self.comp,'MolecularWeight') + self.molecular_formula=self.obj.get_value(self.comp, 'StructureFormula') + self.molecular_weight=self.obj.get_value(self.comp, 'MolecularWeight') dict={'CAS':self.CAS,'Name':self.name,'Molecular Formula':self.molecular_formula,'Molecular Weight':self.molecular_weight} #converted everything to a dictionary which will be passes to addtable |