Hello, Professor Zhong
I’m currently using the Siesta interface of HamGNN to generate graph data for a 2D graphene slab (with vacuum along the z direction).However, during the graph construction step (graph_data_gen_siesta.py / read_siesta.py), the program continuously prints
inv_edge_idx error
like this picture

here are my hsx and fdf files

here is graph_data_gen_siesta.py poscar2siesta.py
graph_data_gen_siesta.py
poscar2siesta.py
I’m not sure whether this issue is caused by my settings in the scripts or if the reverse-edge errors naturally occur for 2D graphene structures. I’m looking forward to your guidance on this issue.