Hello,

I'm trying to load *.r3d files made by raster3d, as described in the pymol
user guide. The test file supplied with pymol fails with the following
output:

PyMOL>load test/dat/pept.r3d
Traceback (most recent call last):
  File 
"/users/warren/pymol/products/MacPyMOL.app/pymol/modules/pymol/parser.py",
line 188, in parse
    result=apply(kw[nest][0],args[nest],kw_args[nest])
  File 
"/users/warren/pymol/products/MacPyMOL.app/pymol/modules/pymol/importing.py"
, line 549, in load
    discrete,quiet,multiplex,zoom)
  File 
"/users/warren/pymol/products/MacPyMOL.app/pymol/modules/pymol/cmd.py", line
755, in _load
    obj = cgo.from_r3d(finfo)
  File "/Applications/MacPyMOL.app/pymol/modules/pymol/cgo.py", line 167, in
from_r3d
    if (mode[0:1]=='r') and (string.find(fname,':')>1):
NameError: global name 'mode' is not defined


Does anyone know how to make *.r3d files work with pymol?

Best regards,

Evan Sadler


Reply via email to