VMD-L Mailing List
From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Tue Aug 29 2006 - 10:48:36 CDT
- Next message: Axel Kohlmeyer: "Re: loading gzipped trajectories into vmd"
- Previous message: Elijah Roberts: "Re: Réf. : Re: vmd-l : VMD1.8.5 : multiseq db"
- In reply to: Eduard Schreiner: "Re: A error of " transforming dcd into pdb ""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
On Tue, Aug 29, 2006 at 11:46:24AM +0200, Eduard Schreiner wrote:
> within the loop, or (that is better) use update.
Why?
> [...]
>
> try that:
> ###############
> mol new all.psf type psf waitfor all
> mol addfile 1.dcd type dcd waitfor all
>
> set nf [molinfo top get numframes]
> set all [atomselect top all frame 0]
>
> for {set i 0 } {$i < $nf} {incr i}
> {
> $all frame $i
> $all update
This selection is not changing in time, so this update is not doing
anything, except consuming time...
> $all writepdb $i.pdb
> }
> $all delete; unset all
>
> ################
Cheers,
Leo
-- Leonardo Trabuco, Ph.D. candidate Theoretical and Computational Biophysics Group University of Illinois at Urbana-Champaign
- Next message: Axel Kohlmeyer: "Re: loading gzipped trajectories into vmd"
- Previous message: Elijah Roberts: "Re: Réf. : Re: vmd-l : VMD1.8.5 : multiseq db"
- In reply to: Eduard Schreiner: "Re: A error of " transforming dcd into pdb ""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]