VMD-L Mailing List
From: Subbarao Kanchi (ksubbu85_at_gmail.com)
Date: Wed Jan 22 2014 - 14:21:08 CST
- Next message: Maxim Belkin: "Re: VMD text mode commands"
- Previous message: Maxim Belkin: "Re: VMD text mode commands"
- In reply to: Maxim Belkin: "Re: VMD text mode commands"
- Next in thread: Maxim Belkin: "Re: VMD text mode commands"
- Reply: Maxim Belkin: "Re: VMD text mode commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Maxim Belkin,
vmd -dispdev text (to open vmd in text mode )
and the following commands were run in vmd terminal of vmd text mode.
mol new .psf type psf
mol addfile .dcd type dcd first 5000 last -1
step 1
I source same commands by writing in a .tcl file (script.tcl) and *source
script.tcl* in vmd terminal of vmd text mode. it yields the error "*invalid
command name "last"*
Regards,
Subbarao Kanchi.
On Thu, Jan 23, 2014 at 1:32 AM, Maxim Belkin <mbelkin_at_ks.uiuc.edu> wrote:
> Hi Subbarao,
>
> How exactly do you call your script?
>
> Maxim
>
> On Jan 22, 2014, at 1:29 PM, Subbarao Kanchi <ksubbu85_at_gmail.com> wrote:
>
> Dear All,
> I am using VMD in test mode (vmd -dispdev text ). I run the
> following commands in vmd command prompt and are working good. But I write
> same commands in a script.tcl and script is sourced in command prompt, it
> gives an error "*invalid command name "last"*". I will appreciate any
> suggestion to over come this problem.
>
> mol new .psf type psf
> mol addfile .dcd type dcd first 5000 last -1 step 1
>
>
>
> Thanks and regards,
> Subbarao Kanchi.
>
>
>
- Next message: Maxim Belkin: "Re: VMD text mode commands"
- Previous message: Maxim Belkin: "Re: VMD text mode commands"
- In reply to: Maxim Belkin: "Re: VMD text mode commands"
- Next in thread: Maxim Belkin: "Re: VMD text mode commands"
- Reply: Maxim Belkin: "Re: VMD text mode commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]