From: Albert (mailmd2011_at_gmail.com)
Date: Mon Jan 28 2013 - 11:38:16 CST

Hello:

  I am trying to run a python script by command:

vmd input.mae 011.dtr -python -dispdev text -e script.py

but it said:

Info) Text interpreter now Python
Traceback (most recent call last):
   File "VMD", line 12, in <module>
NameError: name 'AtomSel' is not defined

here is the line claimed:

     x=AtomSel("resname T3P and within 6 of protein",frame=i) # change
selection here

Does anybody have any idea?

thank you very much
best
Albert