Re: [PyMOL] using pymol commands in a script

2013-09-04 Thread David Hall
I couldn't reproduce the exact error message you received, but I will note: (1) your splitting of lines leaves out the chain, so chain is never defined (2) line 9 of your python is missing an opening quotation mark before (resi matching the closing quotation mark right before the % sign (3) line 9

[PyMOL] using pymol commands in a script

2013-09-04 Thread Anasuya Dighe
Hi everyone, How to write PyMol commands in Python script, save a session and then save a .png file of the same ? I have an input file which has the protein information i.e name, chain, and a list of residues. I want to plot the C-alpha atoms of these residues for each protein & calculate distance