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@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
try:
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...', \
blankAfter=0)
replyobj.status('Beginning session restore...', \
blankAfter=0, secondary=True)
beginRestore()
def restoreCoreModels():
from SimpleSession.versions.v65 import init, restoreViewer, \
restoreMolecules, restoreColors, restoreSurfaces, \
restoreVRML, restorePseudoBondGroups, restoreModelAssociations
molInfo =
Thanks a lot,
Best,
Fabian
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/Tel +972 (0) 4 8293701