[Chimera-users] defining attribute

Bala subramanian bala.biophysics at gmail.com
Fri Sep 17 08:19:46 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20100917/faacde27/attachment.html>
-------------- next part --------------
# chimera test attribute file
attribute: percentExposed
match mode: 1-to-1
recipient: residues
	:1	71.70
	:2	81.27
	:3	103.34
	:4	93.17
	:5 	113.93	
	:6	245.31
	:7	86.55


More information about the Chimera-users mailing list