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

Re: [IMP-dev] weight of a single restraint



Keren Lasker wrote:
Currently, there is no way to set the weight of a single restraint (only for RestraintSet).
Is there any objection to add get/set weight for the Restraint class ?
Why don't you just put the Restraint you want to weight into a 
RestraintSet? In most cases Restraints are not weighted, and when we do 
weight them we generally weight groups, so RestraintSet seems the best 
place to put a weight, not the Restraint base class.
	Ben
--
ben@salilab.org                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle