Closed eljost closed 2 years ago
Shall I mint a v0.20.1 to help downstream?
I would very much appreciate a bug fix release; it is easier to package a small release than backporting the changes (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/qcengine/default.nix)
Why does the
test_harness_canonical
need to be commented?
Because, as far as I can tell, the qcsk_bs
basis is not a simple, common basis set name as 6-31G
, but a QCSchema basis set?! This is not handled by the TurbomoleHarness, so the test fails. That is why I disabled it for now.
Why does the test_harness_canonical need to be commented?
Because, as far as I can tell, the qcsk_bs basis is not a simple, common basis set name as 6-31G, but a QCSchema basis set?! This is not handled by the TurbomoleHarness, so the test fails. That is why I disabled it for now.
You're right about that being a qcschema basisset. No qcengine harness can handle such basis sets right now, even though the schema allow them, so that test just tests that a sensible error message is thrown, rather than harnesses reacting in a dozen different ways. Perhaps add something like https://github.com/MolSSI/QCEngine/blob/master/qcengine/programs/nwchem/runner.py#L178-L179 to the turbomole harness to allow it to pass.
Ah, ok. I'll come up with something tomorrow.
I re-enabled the test and added handling for QCSchema basis set input. I basically just copy&pasted the lines from your link. The previously disabled test passes now.
Thanks again for the fix, @eljost. The 0.20.1 release including this is up on pypi and will eventually percolate to conda, @sheepforce.
Description
The update to 0.20.0 broke the Turbomole harness, as 'N ATOMS' was missing in qcvars, when derivatives of the energy were calculated. This line led to an exception:
https://github.com/MolSSI/QCElemental/blob/36c5e0d3de3655fe02c42c4c1fe52eb4ba933c54/qcelemental/models/results.py#L279
Changelog description
qcvars['N ATOMS']
is now set for gradient and/or Hessian runs, so the AtomicProperties can be now be properly created.Status