VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Wed Nov 17 2010 - 10:39:07 CST
- Next message: Ignacio Fernández Galván: "Re: atom selection in vmd"
- Previous message: Ajasja LjubetiÄ: "Re: atom selection in vmd"
- In reply to: ç¨ĉċİ : "missing operator at _@_in expression "$i _@_$n""
- Next in thread: Matt Watkins: "Re: missing operator at _@_in expression "$i _@_$n""
- Reply: Matt Watkins: "Re: missing operator at _@_in expression "$i _@_$n""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Wed, 2010-11-17 at 23:59 +0800, ç¨ĉċİ wrote:
this looks like a cut-&-paste error,
i.e. the space that you copied is not
inserted as a "proper" ASCII space.
try retyping the code by hand, especially the for loop
header to see if it goes away.
axel.
> 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
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 Institute for Computational Molecular Science Temple University, Philadelphia PA, USA.
- Next message: Ignacio Fernández Galván: "Re: atom selection in vmd"
- Previous message: Ajasja LjubetiÄ: "Re: atom selection in vmd"
- In reply to: ç¨ĉċİ : "missing operator at _@_in expression "$i _@_$n""
- Next in thread: Matt Watkins: "Re: missing operator at _@_in expression "$i _@_$n""
- Reply: Matt Watkins: "Re: missing operator at _@_in expression "$i _@_$n""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]