VMD-L Mailing List
From: Mike McCallum (mmccallum_at_pacific.edu)
Date: Sat Apr 10 2004 - 00:17:26 CDT
- Next message: Justin Gullingsrud: "Re: center selection problem"
- Previous message: John Stone: "Re: Viewing MD trajectories"
- Next in thread: Justin Gullingsrud: "Re: center selection problem"
- Reply: Justin Gullingsrud: "Re: center selection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I'm trying to center a selection using tkcon. The foreach is failing,
and I'm not sure why:
>Main< (Lambda) 73 % set sel [atomselect top all]
atomselect4
>Main< (Lambda) 74 % set center [list [measure center $sel]]
{1.13973164558 2.0826420784 -8.2399187088}
>Main< (Lambda) 76 % foreach mol [molinfo list]{
wrong # args: should be "foreach varList list ?varList list ...?
command"
(I would follow this command with
molinfo $mol set center $center }
)
I found the example here:
http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/1413.html ;
RIght now I'm using charmm to center the selections (I know how to do
it that way, but it is a pain,
compared to using VMD).
Cheers,
Mike
-- C. Michael McCallum http://chem.cop.uop.edu/cmmccallum.html Associate Professor Department of Chemistry, UOP mmccallum .at. pacific .dot. edu (209) 946-2636 v / (209) 946-2607 fax
- Next message: Justin Gullingsrud: "Re: center selection problem"
- Previous message: John Stone: "Re: Viewing MD trajectories"
- Next in thread: Justin Gullingsrud: "Re: center selection problem"
- Reply: Justin Gullingsrud: "Re: center selection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]