From: Davide Mercadante (dmer018_at_aucklanduni.ac.nz)
Date: Mon Feb 18 2013 - 07:26:13 CST

Dear All,

Please accept my apologies if I am rising a stupid issue. I am trying to run
the spring.tcl script available in the VMD-script library without any
success so far and I am not able to understand what I am doing wrong.
I successfully source the script with the command source script.tcl (the
script is placed in the same DIR of the pdb file).

Then I perform an atom selection for the atom where I want the spring to be
drawn using the following command:

atomselect 0 "index 5"

And I get as a result of that an atom selection called atomselect0.

Then I try to recall the proc spring that is in the spring.tcl file (the
procedure doesn't seem to have any argument ­ spring {} ). However, I get
the following error:

can't read "vmd_pick_mol": no such variable

I think I am specifying the atomselection but somehow I am missing the
molecule selection? In the atomselect command the "0" is to define molid 0,
so why the script doesn't pick up the vmdpickmol variable?
Apart from the atomselect command do I need to issue any additional command
before calling the script?

Thank you very much for your help.

Cheers,
Davide

**********************************************
Davide Mercadante Ph.D.
Postdoctoral Fellow
Heidelberg Institute for Theoretical Studies ­ HITS
Schloss-Wolfsbrunnenweg, 35
D-69118 Heidelberg, Germany.
**********************************************