From: Irene Newhouse (einew_at_hotmail.com)
Date: Mon Mar 24 2008 - 20:19:06 CDT

Thank you! That's done the trick.
 
Now I have another problem.... I'm trying to animate the resultant set of pdb files using animatepdbs.tcl from the scripts library. I can only animate the first 6 frames, because after that, there's a different number of waters & I get an "incorrect number of atoms" error message, and the frames are not loaded.
 
Is there a way to edit animatepdbs.tcl so that it can handle differing numbers of atoms from frame to frame?
 
Thanks yet again!
Irene> Date: Mon, 24 Mar 2008 20:53:36 -0400> From: akohlmey_at_cmm.chem.upenn.edu> To: einew_at_hotmail.com> CC: vmd-l_at_ks.uiuc.edu> Subject: RE: vmd-l: script to read dcd frame-at-a-time & write a selection> > On Mon, 24 Mar 2008, Irene Newhouse wrote:> > IN> #initialize> IN> set numfr 350> IN> set pref h5a100> IN> set mymol [mol new parm7 $pref.prmtop]> > ok. this is not the correct syntax. see the docs.> you have to use:> > set mymol [mol new $pref.prmtop type parm7 waitfor all]> > this has the advantage of having a consistent syntax with> mol addfile...> > [...]> > IN> Thanks!> > > cheers,> axel.> > > -- > =======================================================================> Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu> Center for Molecular Modeling -- University of Pennsylvania> Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323> tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425> =======================================================================> If you make something idiot-proof, the universe creates a better idiot.
_________________________________________________________________
Watch “Cause Effect,” a show about real people making a real difference. Learn more.
http://im.live.com/Messenger/IM/MTV/?source=text_watchcause