mirror of
https://github.com/LCPQ/EMSL_Basis_Set_Exchange_Local
synced 2025-01-05 10:59:24 +01:00
Bug cause by a = b = []
This commit is contained in:
parent
01d5928155
commit
5314b7b204
@ -92,7 +92,6 @@ if __name__ == '__main__':
|
|||||||
basis_name = arguments["--basis"]
|
basis_name = arguments["--basis"]
|
||||||
elts = arguments["--atom"]
|
elts = arguments["--atom"]
|
||||||
|
|
||||||
print arguments["--with_l"]
|
|
||||||
l = e.get_basis(basis_name, elts,arguments["--with_l"])
|
l = e.get_basis(basis_name, elts,arguments["--with_l"])
|
||||||
str_ = "\n\n".join(l) + "\n"
|
str_ = "\n\n".join(l) + "\n"
|
||||||
|
|
||||||
|
@ -307,13 +307,15 @@ class EMSL_local:
|
|||||||
|
|
||||||
l_line = [l_line_raw[0]]
|
l_line = [l_line_raw[0]]
|
||||||
|
|
||||||
for type_, begin, end in get_list_type(l_line_raw):
|
for symmetry, begin, end in get_list_type(l_line_raw):
|
||||||
|
|
||||||
if not(with_l) and type_ in "L":
|
if not(with_l) and symmetry in "L":
|
||||||
|
|
||||||
body_s = body_p = []
|
body_s = []
|
||||||
|
body_p = []
|
||||||
|
|
||||||
for i_l in l_line_raw[begin + 1:end]:
|
for i_l in l_line_raw[begin + 1:end]:
|
||||||
|
|
||||||
a = i_l.split()
|
a = i_l.split()
|
||||||
|
|
||||||
common = "{:>3}".format(a[0])
|
common = "{:>3}".format(a[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user