I'm trying to select residues based on the atomic coordinates of an atom. The idea is my application supplies the coordinates of any atom in the residue and Jmol selects the residue that atom is from.



$ print within(0.1, {57.524 37.736 -1.264}).resno
469


So far so good. 469 is the correct residue number.



$ select within(0.1, {57.524 37.736 -1.264}).resno
script ERROR: invalid argument
----
         select { within ( 0.1 , coord , { 57.524 37.736 -1.264 } ) } . >> resno <<


Not so great. :( Does anyone know where I'm going wrong?

Cheers,
Chris Foley.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to