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

Re: [IMP-dev] move random functions



Daniel Russel wrote:
This patch moves the functions which create random vectors from XYZDecorator to Vector3D.h so they can be used outside of the context of an existing particle. XYZDecorator.randomize_in_box(lb, ub) goes to XYZDecorator.set_coordinates(IMP.random_vector_in_box(lb,ub)).

Looks fine to me, but is missing a definition for IMP_DECORATOR_GET_KEY.

	Ben
--
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle