VMD-L Mailing List
From: Cosseddu, Salvatore (S.M.Cosseddu_at_warwick.ac.uk)
Date: Wed Jan 22 2014 - 16:06:13 CST
- Next message: Maxim Belkin: "Re: Creating a Regular Structure"
- Previous message: Subbarao Kanchi: "Re: VMD text mode commands"
- In reply to: Subbarao Kanchi: "VMD text mode commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Be careful of the newlines in the sourced file.
Check whether the command in the file is
mol addfile ciao.dcd type dcd first 5000 last -1 step 1
or
mol addfile ciao.dcd type dcd first 5000
last -1 step 1
Regards
Salvatore
________________________________
From: owner-vmd-l_at_ks.uiuc.edu <owner-vmd-l_at_ks.uiuc.edu> on behalf of Subbarao Kanchi <ksubbu85_at_gmail.com>
Sent: 22 January 2014 19:29
To: vmd-l_at_ks.uiuc.edu
Subject: vmd-l: VMD text mode commands
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: Creating a Regular Structure"
- Previous message: Subbarao Kanchi: "Re: VMD text mode commands"
- In reply to: Subbarao Kanchi: "VMD text mode commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]