10
1
mirror of https://github.com/pfloos/quack synced 2025-05-06 23:24:58 +02:00
This commit is contained in:
Loris Burth 2025-03-19 15:43:36 +01:00
parent 5b99b4e44b
commit 45263e43ea

View File

@ -184,7 +184,7 @@ def create_psi4_basis(basis_dict):
primitive) > (1 + contraction_idx) else 0.0 primitive) > (1 + contraction_idx) else 0.0
basis_str += f" {exponent: .6E} {coefficient: .6E}\n" basis_str += f" {exponent: .6E} {coefficient: .6E}\n"
basis_str += "****\n" basis_str += "****\n"
basis_filename_psi4 = working_dir + "data/basis_psi4/" + input_basis basis_filename_psi4 = working_dir + "input/basis_psi4"
with open(basis_filename_psi4, "w") as file: with open(basis_filename_psi4, "w") as file:
file.write(basis_str.strip()) file.write(basis_str.strip())
return basis_filename_psi4 return basis_filename_psi4