Re: [PyMOL] running python scripts from within python loops in a pymol scripts

2016-04-01 Thread Honegger Annemarie
Yes, this works! Thank you very much for your help! Annemarie > On 01 Apr 2016, at 15:17, David Hall wrote: > > I think you can use cmd.do > > cmd.do("com /DARPin2//A/37-135/CA, object=com2”) > > -David > > >> On Apr 1, 2016, at 8:48 AM, Honegger Annemarie >

Re: [PyMOL] running python scripts from within python loops in a pymol scripts

2016-04-01 Thread David Hall
I think you can use cmd.do cmd.do("com /DARPin2//A/37-135/CA, object=com2”) -David > On Apr 1, 2016, at 8:48 AM, Honegger Annemarie wrote: > > Hi! > > I am trying to automate some model building tasks > > this loop in my pml script works just fine, it generates models in which two > protei

[PyMOL] running python scripts from within python loops in a pymol scripts

2016-04-01 Thread Honegger Annemarie
Hi! I am trying to automate some model building tasks this loop in my pml script works just fine, it generates models in which two protein domains are joined by a shared helix and highlights backbone steric clashes python for i in range(1, 25): cmd.fit('/DARPin2//C/15-22/CA','/helix1//B/%d