Open kyledmiller opened 2 months ago
Some very primitive testing
from crabnet.utils.composition import get_sym_dict
print(get_sym_dict('XFO2e-04Xasdf11', 2))
print(get_sym_dict('Xaaaae+03', -1))
print(get_sym_dict('Xaaaa1e+0090', 1))
print(get_sym_dict('', 1))
changed get_sym_dict() to handle scientific notation in chemical formulae (e.g. the S amount in Nb O1.9 S1e-1) Addresses #43