[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] distance in ConnectivityRestraint




On Mar 19, 2009, at 2:10 AM, 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...
It should be relatively easy to have a function which returns a list of particle pairs as edges. And it seems like something that it would be generally useful to have. I'll look into it.