Skip to content

Commit

Permalink
Update iodata/formats/molden.py
Browse files Browse the repository at this point in the history
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
tovrstra and sourcery-ai[bot] authored Jun 20, 2024
1 parent 9bf56e9 commit 557eaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iodata/formats/molden.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ def dump_one(f: TextIO, data: IOData):
irreps,
)
else:
raise AssertionError("This should not happen because of prepare_dump")
raise RuntimeError("This should not happen because of prepare_dump")


def _dump_helper_orb(f, spin, occs, coeffs, energies, irreps):
Expand Down

0 comments on commit 557eaf6

Please sign in to comment.