10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 12:23:48 +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_raw = data_raw.split("\n")
l_element = [element_raw.split() for element_raw in l_element_raw] 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: else:
print "do_pseudo False" print "do_pseudo False"