Commit 0c5ead0
authored
Avoid dict mutation in VaspInputSet.structure setter (#4520)
`_config_dict["POTCAR"]` was being modified in-place during Yb PSP warning check
this caused `user_potcar_settings` to be permanently merged into `_config_dict["POTCAR"]`, might lead to incorrect POTCAR settings in subsequent operations1 parent 9c2fdf7 commit 0c5ead0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
0 commit comments