The original reason for not having weights in restraints is that it doesn't add any power and the is no global way of making sure restraint implementirs remember to implement it (and since weights are generally 1, it won't get noticed when it us nit done properly).
On Sunday, September 20, 2009, Ben Webb ben@salilab.org wrote: > 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 > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev >