Pymol-Scripts / Pymol-script-repo

Collected scripts for Pymol
http://www.pymolwiki.org/index.php/Git_intro
446 stars 257 forks source link

cyspka error #97

Closed jw-feng closed 6 years ago

jw-feng commented 6 years ago

Hi,

I downloaded cyspka and tried the 4AKE-A example on the pymol wiki. I got the following error:

Hello, PyMOLers. It should take around 1 minute per residue.

molecule: 4AKE-A , chain: A, residue: GLN 18, pH: 7.2

Traceback (most recent call last): File "/Applications/PyMOL.app/Contents/lib/python2.7/site-packages/pymol/parser.py", line 256, in parse self.result=layer.kw[0](*layer.args, **layer.kw_args) File "/Users/JW/cheminfo/basechem/chemistry/3D_modeling/conformation_generator/cyspka.py", line 260, in cyspka if not os.path.exists(Newdir): UnboundLocalError: local variable 'Newdir' referenced before assignment

I am using PyMOL v2.0.0 that was downloaded from pymol.org.

Thanks,

JW