@@ -146,36 +157,7 @@ class RigidBodyTrajectory(IJob):
rbtPerGroup['quaternions']=rbt.quaternions
rbtPerGroup['com']=rbt.cms
rbtPerGroup['fit']=rbt.fit
# Can not use the centers of mass defined by rbt.cms because the reference frame selected can be out of the selected frames for the Rigid Body Trajectory.
centerOfMass=group.centerOfMass(refConfig)
# Loop over the atoms of the group to set the RBT trajectory.