VMD-L Mailing List
From: 程昌利 (chengchangli123_at_yahoo.cn)
Date: Wed Nov 17 2010 - 09:59:16 CST
- Next message: Ajasja Ljubetič: "Re: atom selection in vmd"
- Previous message: Axel Kohlmeyer: "Re: atom selection in vmd"
- Next in thread: Axel Kohlmeyer: "Re: missing operator at _@_in expression "$i _@_$n""
- Reply: Axel Kohlmeyer: "Re: missing operator at _@_in expression "$i _@_$n""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Ajasja Ljubetič: "Re: atom selection in vmd"
- Previous message: Axel Kohlmeyer: "Re: atom selection in vmd"
- Next in thread: Axel Kohlmeyer: "Re: missing operator at _@_in expression "$i _@_$n""
- Reply: Axel Kohlmeyer: "Re: missing operator at _@_in expression "$i _@_$n""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]