[PyMOL] what's wrong in this code.. please help!

2012-03-02 Thread Anasuya Dighe
What's going wrong with this code? ___CODE___ from pymol import cmd def process_line(x): pdbid,res,chain,num = x.split() cmd.load(pdbid) cmd.select(target,(resn %s and chain %s and resi %s)%(res,chain,num)) cmd.select(zone2,(br. (target expand 9 and not (target expand 4.5)) and not

Re: [PyMOL] what's wrong in this code.. please help!

2012-03-02 Thread Tsjerk Wassenaar
Hey Anasuya, On Fri, Mar 2, 2012 at 5:13 PM, Anasuya Dighe anas...@mbu.iisc.ernet.in wrote: What's going wrong with this code? ___CODE___ from pymol import cmd def process_line(x):  pdbid,res,chain,num = x.split()  cmd.load(pdbid)  cmd.select(target,(resn %s and chain %s and resi