openmmtools
openmmtools copied to clipboard
Fix tests - avoid creation of diferent default values for global parameters
In order to get the tests passing with OpenMM8, it looks like we need to refactor the RestorableOpenMMObject
because it is using different default values for the global _restorable_force__class_hash
and this behavior is now explicitly avoided in OpenMM8. See https://github.com/openmm/openmm/issues/3610#issuecomment-1409312647
Originally posted by @ijpulidos in https://github.com/choderalab/openmmtools/issues/649#issuecomment-1410504932