Skip to content

Commit

Permalink
Merge pull request #20 from josuelandinez/master
Browse files Browse the repository at this point in the history
fix mo_coeff dimensions
  • Loading branch information
kousuke-nakano authored Aug 5, 2023
2 parents e13b79d + 8dd1cb9 commit db1e71a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trexio_tools/converters/pyscf_to_trexio.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ def pyscf_to_trexio(
mo_energy = mo_energy_read[ns]
mo_coeff = mo_coeff_read[ns]

mo_num = len(mo_coeff)
mo_num = len(mo_coeff[0])

mo_spin_all += [spin for _ in range(mo_num)]

# mo reordering because mo_coeff[:,mo_i]!!
Expand Down

0 comments on commit db1e71a

Please sign in to comment.