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:
parent
65dbaf64c2
commit
e8df53857a
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user