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

remove del operator on PhaseAnalyzer #634

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions openmmtools/multistate/multistateanalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,6 @@ def __init__(self, reporter, name=None, reference_states=(0, -1),
self._use_online_data = use_online_data
self._read_online_data_if_present()

def __del__(self):
# Explicitly close storage
self.clear()
if self._reporter is not None:
del self._reporter

def clear(self):
"""Reset all cached objects.

Expand Down
Loading