Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Mar 1, 2024
1 parent 044b631 commit 017eda8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trexio_tools/converters/convert_to.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ def run_molden(t, filename):
prim_factor = trexio.read_basis_prim_factor(t)

# For Gaussian basis sets, basis_r_power is zero by default
if trexio.has_basis_r_power(trexio_file):
basis_r_power = trexio.read_basis_r_power(trexio_file)
if trexio.has_basis_r_power(t):
basis_r_power = trexio.read_basis_r_power(t)
else:
basis_r_power = [0.0 for _ in range(basis_shell_num) ]

Expand Down

0 comments on commit 017eda8

Please sign in to comment.