Skip to content

Commit

Permalink
fix cannot save multiplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
Lan Le authored and phuang26 committed Nov 26, 2021
1 parent 9a2c7ad commit 1efdfb4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions chem_spectra/lib/composer/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,8 @@ def gen_integration_info(self):
),
])
return table
elif self.core.params['integration']:
dicIntegration = self.core.params['integration']
if dicIntegration.get('edited'):
self.core.itg_table = []
return []
elif 'stack' in dicIntegration:
return dicIntegration['stack']
else:
return self.core.itg_table
elif self.core.params['integration'].get('edited'):
return []
else:
return self.core.itg_table

Expand Down

0 comments on commit 1efdfb4

Please sign in to comment.