We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6579a5b commit f758aaaCopy full SHA for f758aaa
src/pymatgen/io/lobster/lobsterenv.py
@@ -1017,6 +1017,12 @@ def _find_environments(
1017
)
1018
1019
else:
1020
+ warnings.warn(
1021
+ "You are using an older version for neighbor detection that might not consider rare "
1022
+ "LOBSTER edge cases. Consider switching LobsterNeighbors().backward_compatibility "
1023
+ "to False for more advanced neighbor detection.",
1024
+ stacklevel=2,
1025
+ )
1026
comparison = (
1027
np.isclose(dist, list_distances[neigh_idx], rtol=1e-4)
1028
and copied_neighbors_from_ICOHPs[dist_idx] == index_here2
0 commit comments