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 %s)"%(res,chain,num))
>  cmd.select("zone2","(br. (target expand 9 and not (target expand 4.5)) and 
> not
> resn HOH and not HET)"

You're missing a closing parenthesis here.

Cheers,

Tsjerk

-- 
Tsjerk A. Wassenaar, Ph.D.

post-doctoral researcher
Molecular Dynamics Group
* Groningen Institute for Biomolecular Research and Biotechnology
* Zernike Institute for Advanced Materials
University of Groningen
The Netherlands

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to