mirror of
https://github.com/LCPQ/EMSL_Basis_Set_Exchange_Local
synced 2024-11-08 23:23:47 +01:00
New db working
This commit is contained in:
parent
cf1e3768d7
commit
80c69ae88a
BIN
db/Gamess-us.db
BIN
db/Gamess-us.db
Binary file not shown.
@ -129,13 +129,20 @@ class EMSL_dump:
|
|||||||
raise Exception("WARNING not DATA")
|
raise Exception("WARNING not DATA")
|
||||||
else:
|
else:
|
||||||
data = data.replace("PHOSPHOROUS", "PHOSPHORUS")
|
data = data.replace("PHOSPHOROUS", "PHOSPHORUS")
|
||||||
data = data[b + 5:e].split('\n\n')
|
data = data.replace("D+", "E+")
|
||||||
|
data = data.replace("D-", "E-")
|
||||||
|
|
||||||
|
data = data[b + 5:e-1].split('\n\n')
|
||||||
|
|
||||||
for (elt, data_elt) in zip(elts, data):
|
for (elt, data_elt) in zip(elts, data):
|
||||||
|
|
||||||
elt_long_th = dict_ele[elt.lower()]
|
elt_long_th = dict_ele[elt.lower()]
|
||||||
elt_long_exp = data_elt.split()[0].lower()
|
elt_long_exp = data_elt.split()[0].lower()
|
||||||
|
|
||||||
|
if "$" in data_elt:
|
||||||
|
print "Eror",
|
||||||
|
raise Exception("WARNING not bad split")
|
||||||
|
|
||||||
if elt_long_th == elt_long_exp:
|
if elt_long_th == elt_long_exp:
|
||||||
d.append((name, des, elt, data_elt.strip()))
|
d.append((name, des, elt, data_elt.strip()))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user