9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-18 11:23:38 +01:00

Merge branch 'dev-stable-tc-scf' into dev-stable-tc-scf
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
AbdAmmar 2023-04-16 20:02:49 +02:00 committed by GitHub
commit 127837d92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ def extract_data(output):
e_ex_line = lines[iline+2] e_ex_line = lines[iline+2]
e_ex = float(e_ex_line.split()[1]) e_ex = float(e_ex_line.split()[1])
reading = False reading = False
new_data = " {:8d} {:16.8f} {:e} {:e} {:e} {:e} {:16.8f}".format(n_det, e, pt2, err_pt2, rpt2, err_rpt2, e_ex) new_data = " {:8d} {:16.8f} {:e} {:e} {:e} {:e} {:16.8f}".format(n_det, e, pt2, err_pt2, rpt2, err_rpt2, e_ex)
data.append(new_data) data.append(new_data)
n_det = e = pt2 = err_pt2 = rpt2 = err_rpt2 = e_ex = None n_det = e = pt2 = err_pt2 = rpt2 = err_rpt2 = e_ex = None
@ -53,3 +54,4 @@ data = extract_data(output)
for item in data: for item in data:
print(item) print(item)