LobsterPy
LobsterPy copied to clipboard
Structure graphs
Hi Janine,
- This is initial draft for getting structure_graphs .
- I did add environment information from lobsterpy to graph nodes
Pending
- [x] Add test cases
- [x] Add bonding-antibonding percentages for COHP
Also provide feedback on the way it is implemented.
Thanks. Will check it out. And, yes, pymatgen could be changed.
Added the bonding-antibonding percentages as edge properties. The integral values obtained, however, don't match very well.
So I still need to recheck. If you spot any error when reviewing, I would be happy to rectify it.
Added test case for graph
module . Let me know if any further changes are needed. Tests failed because current pymatgen release does not have bond_label key in sg
object
Thanks @naik-aakash . I think it looks qvery good. Could you maybe make the suggested changes? I think, I can then merge it.
Hi @JaGeo, let me know if anything more needs to be added or modified here. 😄
Hi @naik-aakash , how does the test coverage currently look like and how diverse were the structures you tested the code on so far?
Hi @naik-aakash , how does the test coverage currently look like and how diverse were the structures you tested the code on so far?
Hi @JaGeo , test coverage seems ~96 % for graphs.py module at the moment. I will test more different structures tomorrow and let you know if any issues pops up.
Todo
- [x] Test diverse structure types
Hi @JaGeo, this PR could also be reviewed and merged
@JaGeo, I have made the suggested changes.
In the following days, I will try to make changes in pymatgen to switch to any icoxxlist as a base file for neighbor analysis and add additional data from the two types of files. Then I will raise another PR to improve the current implementation 😄
Let me know if anything more needs to be done before it can be merged :-)
Hi @JaGeo , here as well issues seem to be resolved so this could be merged
There are still conflicts, unfortunately :(
Just resolved it now , should be fine. test files xD