From: 程昌利 (chengchangli123_at_yahoo.cn)
Date: Wed Nov 17 2010 - 09:59:16 CST

Hello all
When I run an analysis script example in VMD ug , the screen display :missing operator at _@_in expression "$i _@_$n".
The script is as follows(page 172,version 1.8.7) :
#find waters near the protein for each frame and writes a pdb file
proc waters_near_protein {} {
set sel [atomselect top "water and same residue as (within 2 of protein)"]
set n [molinfo top get numframes]
for {set i 0} {$i $n} {incr i} {
$sel frame $i
$sel update
$sel writepdb water_$i.pdb }
 
}
 
I want to konw it is a bug or not, and how can I solve the problem.
Best regards