Skip to content

Conversation

gisellegran
Copy link
Contributor

This fixes the bug in random_crystal.decomp function that occurs when passing a formula where a single letter element is not followed by a number. See example bellow.

Expected behaviour:
Li6PS5Cl -> ['Li', 'P', 'S', Cl] [6, 1, 5, 1]

Actual behaviour:
Li6PS5Cl ->['Li', 'PS'] [6, 5]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant