5.23.10. utils.molecule2list¶
- eminus.utils.molecule2list(molecule)[source]¶
Expand a chemical formula to a list of chemical symbols.
No charges or parentheses are allowed, only chemical symbols followed by their amount.
- Parameters:
molecule – Simplified chemical formula (case sensitive).
- Returns:
Atoms of the molecule expanded to a list.