I would like to get all residues that are close to any chosen residue in my pose. (I need a list of all residues whose side chains could potentially interact with the side chain of my chosen residue.)
I’m guessing the information is available in `pose.energies().tenA_neighbor_graph()`, but I can’t seem to access it in PyRosetta.
for l in pose.energies().tenA_neighbor_graph().get_node(1).edge_list_begin():
TypeError: 'EdgeListIterator' object is not iterable
and the `graph::Node` does not seem to expose an array or list or linked-list of edges of each node.
Creating a Vector1 (as suggested here) gives the same error.
Is it possible to iterate over the edges in a node in PyRosetta?
Thank you for your help & best regards,