Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should there be an extra context cache clearing in multistatesampler.__del__? #689

Open
IAlibay opened this issue Apr 20, 2023 · 1 comment

Comments

@IAlibay
Copy link
Contributor

IAlibay commented Apr 20, 2023

Context: From today's OpenFE call, @mikemhenry recommended opening this just to review later.

Quite simply, should there be explit calls to clearing the context cache in __del__ for multistatesampler?

@jchodera
Copy link
Member

Yes! We just hadn't run into this before because we don't typically run multiple MultiStateSampler calls in a row, but this may have also been the cause of other issues we had seen earlier.

cc #688

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants