I added a get_connected_pairs() method to the connectivity restraint which returns a ParticelPairs object.
Friedrich Foerster wrote: > > On Mar 19, 2009, at 12:13 AM, Daniel Russel wrote: > >> Friedrich Foerster wrote: >>> hi all, >>> >>> is there any way to print the distance(s) used in the >>> ConnectivityRestraint? >>> i'd like to print the actual distances of the minimal spanning tree. >>> >> If you set logging to verbose and evaluate it, it will print the >> length of all edges and then the set of edges selected. Good enough? > actually it'd be great to have an option to really return the value. > i'd like to print out the actual distances between restrained > particles. i.e., i'd eventually like to put it into a nice format etc... > so if there'd be a way to do that it'd be greatly appreciated. in the > meanwhile i can live with the logging. > > thanks > > frido >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev >> > > -- > > Friedrich Foerster > Max-Planck Institut fuer Biochemie > Am Klopferspitz 18 > D-82152 Martinsried > > Tel: +49 89 8578 2651 > Fax: +49 89 8578 2641 > > foerster@biochem.mpg.de > > www.tomotronic.org > > > > > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev