Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions thermo_ml/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def atoms(chemical_formula):
f'Parsing unsuccessful for "{chemical_formula}"'
'Please contact bundes_liga.atok@hotmail.co.jp \n'
'Output = {stack}')
dict_of_atom_counts = stack[0]
return dict_of_atom_counts
return stack[0]
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function atoms refactored with the following changes:



class ChemParser:
Expand Down