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

switch out copy with deepcopy for structure.copy() method #1290

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

daico007
Copy link
Contributor

Fix #1289. Basically switch out all the copy() call with deepcopy() in parmed.Structure.copy() function, ensuring that nothing is accidentally copied by reference.

parmed/structure.py Outdated Show resolved Hide resolved
@swails swails merged commit 7ceb6c4 into ParmEd:master Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some properties are copied by reference in Structure.copy()
2 participants