10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-03 20:54:00 +01:00

Fixed QMCPack pseudo bug

This commit is contained in:
Anthony Scemama 2017-12-19 22:19:29 +01:00
parent 65dbaf64c2
commit e8df53857a

View File

@ -26,7 +26,7 @@ if do_pseudo:
l_element_raw = data_raw.split("\n")
l_element = [element_raw.split() for element_raw in l_element_raw]
d_z = dict((abr, z) for (z, abr, ele) in l_element)
d_z = dict((abr, z) for (z, abr, ele, _) in filter(lambda x: x != [], l_element) )
else:
print "do_pseudo False"