VMD-L Mailing List
From: Vlad Cojocaru (Vlad.Cojocaru_at_mpi-bpc.mpg.de)
Date: Sat Feb 07 2004 - 06:47:17 CST
- Next message: Axel Kohlmeyer: "Re: tcl question"
- Previous message: John Stone: "Re: Densities for protein and ligand"
- Next in thread: Axel Kohlmeyer: "Re: tcl question"
- Reply: Axel Kohlmeyer: "Re: tcl question"
- Reply: Juan Alfredo Freites: "Re: tcl question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear vmd users,
I am trying to write a tcl script which loads a trajectory and then
using atomselection makes some selections and writes some pdb files from
different frames of the trajectory.
The problem that I have is that vmd is executing the subsequent
commands before loading the entire trajectory. As an example:
mol load parm7 topfile pdb initialpdb
mol addfile trajfile type crdbox
...
set num_steps [molinfo top get numframes]
So....in this case vmd is always setting the num_steps variable before
loading all the frames from the traj. Does anybody have any ideea how to
avoid this behaviour and make vmd first load the entire traj. and then
execute following commands?
Thanks a lot
vlad
-- Vlad Cojocaru Max Planck Institute for Biophysical Chemistry Department: 060 Am Fassberg 11, 37077 Goettingen, Germany tel: ++49-551-201.1327 e-mail: Vlad.Cojocaru_at_mpi-bpc.mpg.de home tel: ++49-551-9963204
- Next message: Axel Kohlmeyer: "Re: tcl question"
- Previous message: John Stone: "Re: Densities for protein and ligand"
- Next in thread: Axel Kohlmeyer: "Re: tcl question"
- Reply: Axel Kohlmeyer: "Re: tcl question"
- Reply: Juan Alfredo Freites: "Re: tcl question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]