From: Norman Geist (norman.geist_at_uni-greifswald.de)
Date: Tue Jul 28 2015 - 01:33:01 CDT
You might want to follow a TCL tutorial 1st.
if {$i == 0} {
set ref_sel [ $sel_prot ]
} else {
set M [measure fit $sel_prot $ref_sel]
$sel_prot move $M
}
Mit freundlichen Grüßen
Norman Geist.
From: owner-namd-l_at_ks.uiuc.edu [mailto:owner-namd-l_at_ks.uiuc.edu] On Behalf Of Simon Kit Sang Chu
Sent: Tuesday, July 28, 2015 2:40 AM
To: namd-l_at_ks.uiuc.edu
Subject: namd-l: "missing operator at _@_ in expression" for if statement
Hi everyone,
I am a new user and I am writing a script -
if [expr $i == 0]{
set ref_sel [ $sel_prot ]
} else {
set M [measure fit $sel_prot $ref_sel]
$sel_prot move $M
}
However, there is an error message -
missing operator at _@_
in expression "1_@_{"
Anyone has experienced this before? Mind if you point out how to correct it?
Thanks,
Simon
This archive was generated by hypermail 2.1.6 : Thu Dec 31 2015 - 23:22:00 CST