Hello,
I'm trying to compute the distance between the centers of mass of two residues using the python API. I tried two different ways :
1.
rc(session, 'define centroid :43 massWeighting true name AA1')
rc(session, 'define centroid :35 massWeighting true name AA2')
rc(session, 'distance AA1 AA2')
2.
rc(session, ' measure center :43 mark true name AA1')
rc(session, 'measure center :35 mark true name AA2')
rc(session, 'distance AA1 AA2')
But I get this error in the third line in both cases :
chimerax.core.errors.UserError: Missing or invalid "objects" argument: invalid objects specifier
What is wrong ?
Thanks in advance.