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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
|
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