[Chimera-users] ConSurf script on ChimeraX

Fabian Glaser fabian.glaser at gmail.com
Sun Apr 8 07:56:07 PDT 2018


I would like to use Chimera ConSurf scripts in ChimeraX, but I get the following error when I try to run the script on ChimeraX

ModuleNotFoundError: No module named 'cPickle'

File "consurf_final_zn.py", line 1, in 

See log for complete Python traceback.

If you wish to report this error, send mail to chimerax-bugs at cgl.ucsf.edu <mailto:chimerax-bugs at cgl.ucsf.edu> and describe what you were doing and include a copy of the contents of the log. Don't include any data you wish to remain private since a publicly viewable bug report will be created.

Is this something that can be fixed or updated?

More generally I would like to update ConSurf with a version of the script for ChimeraX, can you help me with that?

Here is the beginning of the original chimera script

import cPickle, base64
	from SimpleSession.versions.v65 import beginRestore,\
	    registerAfterModelsCB, reportRestoreError, checkVersion
except ImportError:
	from chimera import UserError
	raise UserError('Cannot open session that was saved in a'
	    ' newer version of Chimera; update your version')
checkVersion([1, 12, 41623])
import chimera
from chimera import replyobj
replyobj.status('Restoring session...', \
replyobj.status('Beginning session restore...', \
    blankAfter=0, secondary=True)

def restoreCoreModels():
	from SimpleSession.versions.v65 import init, restoreViewer, \
	     restoreMolecules, restoreColors, restoreSurfaces, \
	     restoreVRML, restorePseudoBondGroups, restoreModelAssociations
	molInfo = 

Thanks a lot,



Fabian Glaser PhD

Head of the Structural  Bioinformatics section 
Bioinformatics Knowledge Unit - BKU
The Lorry I. Lokey Interdisciplinary Center for Life Sciences and Engineering
Technion - Israel Institute of Technology, Haifa, Israel
Web http://bku.technion.ac.il/ <http://bku.technion.ac.il/>
Tel +972 (0) 4 8293701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20180408/806b48f6/attachment.html>

More information about the Chimera-users mailing list