Skip to content

Commit

Permalink
Update a test for QCPortal 0.54 (#338)
Browse files Browse the repository at this point in the history
* Don't use a cache that was modified in 0.54

* Update release history
  • Loading branch information
mattwthompson committed Apr 9, 2024
1 parent 25ce84e commit f7cd2a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/releasehistory.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Releases follow the ``major.minor.micro`` scheme recommended by

<!-- ## Since last release -->

## Current development

* [#338] - Updates a test for QCFractal/QCPortal 0.54. [@mattwthompson]

## 0.3.0 / 27-03-2024

### New Features
Expand Down Expand Up @@ -155,6 +159,7 @@ The first major release of bespokefit intended for public use.
[#325]: https://github.com/openforcefield/openff-bespokefit/pull/325
[#330]: https://github.com/openforcefield/openff-bespokefit/pull/330
[#334]: https://github.com/openforcefield/openff-bespokefit/pull/334
[#338]: https://github.com/openforcefield/openff-bespokefit/pull/338


[@Yoshanuikabundi]: https://github.com/Yoshanuikabundi
Expand Down
5 changes: 1 addition & 4 deletions openff/bespokefit/_tests/schema/test_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,8 @@ def modify_molecule(molecule):
pass

if isinstance(record, qcportal.torsiondrive.TorsiondriveRecord):
final_records = {
key: val for key, val in record.minimum_optimizations_cache_.items()
}

for _record in final_records.values():
for _record in record.minimum_optimizations.values():
pos0 = _record.final_molecule.geometry[0]
pos1 = _record.final_molecule.geometry[1]
_record.final_molecule.geometry[0] = pos1
Expand Down

0 comments on commit f7cd2a6

Please sign in to comment.