On Sep 17, 2010, at 8:19 AM, Bala subramanian wrote:
Friends,
I want to define solvent accessibility as the attribute to create a worm representation. I used the template file 'percentExposed.txt' in the following link to create an attribute file. The sample file i creased is attached (exp.txt)
http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/defineattrib/percentExposed.txt
when i give the command: deffattr exp.txt
I get the following error. How to resolve the problem.
Traceback (most recent call last):
File "/usr/local/chimera_15/lib/python2.6/site-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__
return apply(self.func, args)
File "/usr/local/chimera_15/share/Midas/midas_ui.py", line 260, in processCommand
midas_text.makeCommand(text)
File "/usr/local/chimera_15/share/Midas/midas_text.py", line 66, in makeCommand
f(c, args)
File "/usr/local/chimera_15/share/AddAttr/ChimeraExtension.py", line 33, in cmdAddAttr
specInfo=[("spec", "models", "molecules")])
File "/usr/local/chimera_15/share/Midas/midas_text.py", line 424, in doExtensionFunc
extFunc(*tuple(processedArgs), **kw)
File "/usr/local/chimera_15/share/AddAttr/__init__.py", line 77, in addAttributes
return _addAttr(attrFile, models, log, raiseTool)
File "/usr/local/chimera_15/share/AddAttr/__init__.py", line 239, in _addAttr
from ShowAttr import ShowAttrDialog, screenedAttrs
ImportError: cannot import name screenedAttrs
ImportError: cannot import name screenedAttrs
File "/usr/local/chimera_15/share/AddAttr/__init__.py", line 239, in _addAttr
from ShowAttr import ShowAttrDialog, screenedAttrs
<exp.txt>