No need to do that. Just call set_model() on the restraints. They then will be registered, but not part of the score function. Somebody didn't read the change history :-)
On Sep 8, 2011, at 7:36 PM, Keren Lasker wrote:
> ok ... > > so would things will work if i create a restraint set with weight 0, (to serve as input for domino interaction graph ) ? > > On Sep 8, 2011, at 7:35 PM, Daniel Russel wrote: > >> Yup >> >> >> >> On Sep 8, 2011, at 7:11 PM, Keren Lasker kerenl@salilab.org wrote: >> >>> what do you mean weight for both? the weight is the sum of the two restraint sets? so if the weight of the two restraintset is one, the restraint will contribute *2 to the total score? >>> On Sep 8, 2011, at 7:10 PM, Daniel Russel wrote: >>> >>>> It will only get evaluated once, just have the weight for both. >>>> >>>> On Sep 8, 2011, at 6:05 PM, Keren Lasker wrote: >>>> >>>>> does it mean the restraint is going to be evaluated twice? >>>>> _______________________________________________ >>>>> IMP-dev mailing list >>>>> IMP-dev@salilab.org >>>>> https://salilab.org/mailman/listinfo/imp-dev >>>> >>>> _______________________________________________ >>>> IMP-dev mailing list >>>> IMP-dev@salilab.org >>>> https://salilab.org/mailman/listinfo/imp-dev >>> >>> >>> _______________________________________________ >>> IMP-dev mailing list >>> IMP-dev@salilab.org >>> https://salilab.org/mailman/listinfo/imp-dev >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev