You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RIght now parse_formula just uses regex to run through a string looking for things that look like elements (maybe) followed by a number. I would be good if it could do more though. Things that it would be good if it could do:
RIght now parse_formula just uses regex to run through a string looking for things that look like elements (maybe) followed by a number. I would be good if it could do more though. Things that it would be good if it could do:
Li4(Fe2O3)2 -> {'Li':4, 'Fe':4: 'O':6}
3Gd2O3 + 4Li2O -> {'Li':8, 'Gd':6, 'O':13}
Maybe?
2Li5FeO4 - Fe2O3 -> {'Li':10, 'O':5}
The text was updated successfully, but these errors were encountered: