TREX-CoE / trexio_tools

Set of tools for trexio files
BSD 3-Clause "New" or "Revised" License
18 stars 8 forks source link

Converting GAMESS output with multistate calculation #39

Open neelravi opened 2 weeks ago

neelravi commented 2 weeks ago

When a Gamess output with multiple states is provided to trexio convert-from command, it fails with the following error:

trexio.Error: Inconsistent number of determinants
Exception ignored in: <function File.__del__ at 0x7bc5523298b0>
Traceback (most recent call last):
  File ".local/lib/python3.9/site-packages/trexio.py", line 209, in __del__
    _close(self.pytrexio_s)
  File ".local/lib/python3.9/site-packages/trexio.py", line 264, in _close
    raise Error(rc)
trexio.Error: Inconsistent number of determinants

The file is attached to reproduce this message. test_gamess.txt

The possible solution is

I am working on a pull request that achieves this. Let me know if this approach is optimal.