Skip to content

feat: add get_fcidump to output#253

Merged
haneug merged 14 commits into
faccts:mainfrom
haneug:feature/output-fcidump-parser
Jul 14, 2026
Merged

feat: add get_fcidump to output#253
haneug merged 14 commits into
faccts:mainfrom
haneug:feature/output-fcidump-parser

Conversation

@haneug

@haneug haneug commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Closes Issues

Closes None

Description

  • Added a small helper class that parses the FCIDUMP file and is able to return the important quantities (one and two-electron integrals) as numpy arrays. This object is populated and returned by output.get_fcidump.

Release Notes

Added

@haneug haneug added this to the 3.0.0 milestone Jun 19, 2026
@haneug haneug self-assigned this Jun 19, 2026
@haneug haneug added enhancement New feature or request side output Concerning parsing ORCA output labels Jun 19, 2026
@haneug
haneug marked this pull request as ready for review June 19, 2026 06:53
@haneug
haneug requested a review from a team as a code owner June 19, 2026 06:53
@haneug
haneug force-pushed the feature/output-fcidump-parser branch from a2b39ef to 17a2832 Compare June 19, 2026 07:38
Comment thread src/opi/output/core.py Outdated
Comment thread src/opi/output/core.py Outdated
Comment thread src/opi/output/core.py Outdated
Comment thread src/opi/output/core.py Outdated
Comment thread src/opi/output/fcidump.py
Comment thread src/opi/output/fcidump_parser.py Outdated
Comment thread src/opi/output/fcidump.py
Comment thread src/opi/output/fcidump_parser.py Outdated
Comment thread tests/unit/test_output_fcidump_parser.py Outdated
Comment thread tests/unit/test_output_fcidump_parser.py Outdated
haneug and others added 8 commits July 8, 2026 20:14
Co-authored-by: Tim Tetenberg <123412573+timmyte@users.noreply.github.com>
Co-authored-by: Tim Tetenberg <123412573+timmyte@users.noreply.github.com>
- get_fcidump would raise a ValueError if the FCIDUMP file could not be parsed.
- _get_int_list would not work for a single entry like ORBSYM = 1 which is valid in FCIDUMP.
- Added the orbital_energies to Fcidump. Not conventional in FCIDUMP but some programms write them.
- improvements to eri_tensor property
@haneug
haneug requested a review from timmyte July 9, 2026 09:37

@timmyte timmyte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Just some minor annotations to fix ;)

Comment thread src/opi/output/core.py
Comment thread src/opi/output/fcidump.py Outdated
Comment thread src/opi/output/fcidump.py Outdated
Comment thread tests/unit/test_output_fcidump_parser.py Outdated
@haneug
haneug merged commit f054606 into faccts:main Jul 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request side output Concerning parsing ORCA output

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants