RE: syntax error in expression "(": premature end of expression - namdstats

From: JC Gumbart (
Date: Sat Jan 17 2009 - 01:34:41 CST

You must be using the wrong version of namdstats (maybe an old one?). The
one you need for the tutorial can be found here:



From: [] On Behalf
Sent: Friday, January 16, 2009 5:09 PM
To: NAMD list
Subject: namd-l: syntax error in expression "(": premature end of expression
- namdstats


Hi everybody
When I am trying to source script namdstats.tcl in order to export data
series from the log file of my simulation I got the following error message
in TK Console: "syntax error in expression "(": premature end of
expression". The same thing happens when I try to source namdpstats or
namddat but not when using get_energy.tcl. After I had a look at the
script's code and saw that 'awk' and 'grep' are being employed I can
uderstand why they wouldn't work in Windows environment. I also saw a
message on the list which suggests that since namdstats is a C Shell script
it shouldn't work in TKCon. Nevertheless it's described usage in the Windows
tutorial suggests that it should be sourceable like any other tcl script !?
My question would be the following: Is there another version of this script
available for Windows ? Or am I not doing something right ?
Many thanks and best regards
Vlad Chindea


check out the rest of the Windows LiveT. More than mail-Windows LiveT goes
way beyond your inbox. More than messages

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:52:15 CST