Skip to content

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

Merged
swails merged 2 commits into
ParmEd:masterfrom
daico007:use_deep_copy
Feb 17, 2023
Merged

switch out copy with deepcopy for structure.copy() method#1290
swails merged 2 commits into
ParmEd:masterfrom
daico007:use_deep_copy

Conversation

@daico007

Copy link
Copy Markdown
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.

Comment thread parmed/structure.py Outdated
@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