|
From: Warren D. <wa...@de...> - 2005-08-10 19:35:33
|
Dan,
Sorry, that is not currently possible. In order to get individual
distances, you need to create them one by one using a nested loop.
Something like:
for at1 in cmd.index("resi 10"): \
for at2 in cmd.index("resi 11"): \
cmd.dist(None, "%s`%d"%at1, "%s`%d"%at2)
Cheers,
Warren
--
Warren L. DeLano, Ph.D. =20
Principal Scientist
. DeLano Scientific LLC =20
. 400 Oyster Point Blvd., Suite 213 =20
. South San Francisco, CA 94080 USA =20
. Biz:(650)-872-0942 Tech:(650)-872-0834 =20
. Fax:(650)-872-0273 Cell:(650)-346-1154
. mailto:wa...@de... =20
=20
> -----Original Message-----
> From: pym...@li...=20
> [mailto:pym...@li...] On Behalf Of=20
> Daniel Hasenpusch
> Sent: Tuesday, August 09, 2005 5:04 PM
> To: pym...@li...
> Subject: [PyMOL] multi distance object to single distance objects
>=20
> Hi,
> =20
> I used the distance command:
> =20
> cmd.dist(" (/mol1///1/C)","(/mol1///2/C*)").
> =20
> In pymol it creates a new distance object with all distances=20
> from C in Residue 1 to every C in Residue 2.
> How can I split this object to single distance objects?=20
> Or there are better possibilities because I want to write the=20
> distances into an extra file, but I only get the last=20
> distance as result.
> =20
> Thanks in advance,
>=20
> Daniel
> =20
>=20
|