Fix consideration of translation symmetry for some (extremely rare) edge cases in LobsterEnv#4148
Conversation
| or ( | ||
| copied_translations_from_ICOHPs[dist_idx][0] | ||
| == translations_by_distance[neigh_idx][0] | ||
| and copied_translations_from_ICOHPs[dist_idx][1] | ||
| == translations_by_distance[neigh_idx][1] | ||
| and copied_translations_from_ICOHPs[dist_idx][2] | ||
| == translations_by_distance[neigh_idx][2] | ||
| ) |
There was a problem hiding this comment.
We could raise a warning if this fall-back option is taken. I think with updating to reading the CONTCAR, most issues should be fixed, however.
…t we do not cover yet
…t we do not cover yet
|
Hi @shyuep and @JaGeo , based on the issue pointed here #4595 (comment) I moved the |
Signed-off-by: Aakash Ashok Naik <91958822+naik-aakash@users.noreply.github.com>
|
Hi @shyuep, thanks for already moving the lobster/io modules to pymatgen-core. Currently, I notice only the cohp module in electronic_structure is still in main pymatgen. Is there any dependency issue preventing the move of this module? And I can't figure out why the tests in this PR aren't using the changes I made in this module and are failing with an attribute error; it seems they are not using the modified After resolving this and once the |
|
Just to add this: we are aware that the split between pymatgen-core and pymatgen is currently under discussion. However, we wanted to leave the comment for potential future resolution of the issue. |
893393c to
c48a2eb
Compare
|
Hi @shyuep, I have made the necessary changes here. 😃 |
|
Great thanks! |
Summary