set_model should not be called directly on Restraints either (it is just documented so that restraints can override it--I had forgotten to add a comment to his effect when I made Restrain::set_model visible recently.). You just use Model::add_{score_state,restraint}.

2009/10/11 Javier Ángel Velázquez Muriel <javi@salilab.org>
After consulting the help, I can't figure out the use of ScoreState. I does not seem to have a set_model function, as Restraint has. Is there any way of assigning ScoreStates to Restraints or Models ?

Thanks

_______________________________________________
IMP-dev mailing list
IMP-dev@salilab.org
https://salilab.org/mailman/listinfo/imp-dev