This is a read-only mirror of pymolwiki.org

Talk:BiologicalUnit

From PyMOL Wiki
Jump to navigation Jump to search

Dr. Zhenting Gao 06:07, 20 May 2010 (UTC)

The script does not work for me. Can anyone help me out?

My procedure is

  1. Open PyMOL
  2. run E:/readSymmetry.py
  3. symMat = readSymmetry("E:/pdb1k4c.pdb","pdbFile")
  4. biologicalUnit("mates", "pdbFile", symMat)
  5. Then the following error occurs
Traceback (most recent call last):
  File "d:\cadd\pymol/modules\pymol\parser.py", line 455, in parse
    exec(layer.com2+"\n",self.pymol_names,self.pymol_names)
  File "<string>", line 1, in ?
  File "E:/readSymmetry.py", line 77, in biologicalUnit
    n = cmd.get_unused_name(prefix)
AttributeError: 'module' object has no attribute 'get_unused_name'

Please upgrade your version of PyMOL.

Tree 16:12, 21 May 2010 (UTC)