atom selection in xp3.851

Isabelle Phan phan at bioch.ox.ac.uk
Thu Jul 24 07:17:40 EST 1997


Dear All,

Please can anyone explain to me why $name is not replaced by its value
in the following statement:

 X-PLOR>for $resid in ( 7 8 31)loop meth 
 FOR LOOP: symbol RESID set to    7.00000     (real)
 X-PLOR>  eval ($name = "HA*") 
 EVALUATE: symbol $NAME set to "HA*" (string)
 X-PLOR>  coor sele= (segid "" and resid $resid and name $name) end 
 SELRPN:      0 atoms have been selected out of    621
             ^^^
 COOR: using atom subset.
 X-PLOR>  coor sele= (segid "" and resid $resid and name HA*) end 
 SELRPN:      2 atoms have been selected out of    621
             ^^^
 COOR: using atom subset.

-- 
____________________________________________________________________
   Dr. Isabelle Phan                       phan at bioch.ox.ac.uk
   Oxford Centre for Molecular Sciences    http://www.ocms.ox.ac.uk/ 
   University of Oxford                    voice: 44-1865-275720 
   OXFORD OX1 3QU, U.K.                    fax:   44-1865-275253



More information about the X-plor mailing list