-
Notifications
You must be signed in to change notification settings - Fork 80
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
base: main
Are you sure you want to change the base?
remove del operator on PhaseAnalyzer #634
Conversation
fixes choderalab#633 it doesn't do anything except delete attributes, so isn't necessary
I haven't looked at this bit of code lately, maybe @ijpulidos could check, but |
I did a quick scan, there's no explicit |
@richardjgowers thanks for reporting the issue and contributing the possible solution. I tend to agree with your remarks, the Python garbage collector should already be doing this. Nevertheless, I would like to have a reproducible example/snippet where the issue appears, it doesn't have to be a simple one, just something I can use to reproduce the issue and go from there. If you have one I can use that would be very helpful. Thanks! |
We should probably catch the
Which looks like what we are doing here. Also from the docs it sounds like |
Aha ok. For context, I think I was getting this error when I was trying to create a |
fixes #633
the
__del__
doesn't do anything except delete attributes, so isn't necessary