PyRosetta coding subtleties
This works:
rbptmvr=rigid.RigidBodyPerturbMover(2, rotation_magnitude, translation_magnitude)
sequence_mover.add_mover( rbptmvr )
This does not:
sequence_mover.add_mover( rigid.RigidBodyPerturbMover(2, rotation_magnitude, translation_magnitude) )
My question is, why is the intermediate reference necessary?
I feel as if there is something fundamental about how to code in PyRosetta that I'm missing.
The error is different depending on what is nested.
Here is an example caused by the second statement above:
Traceback (most recent call last):