Re: [PyMOL] Calling scripted functions within alter_state

2009-08-24 Thread Warren DeLano
tmpOp)") instead, after using cmd.extend in your startup or GUI script. Cheers, Warren ________ From: Stuart Ballard [mailto:srball...@wisc.edu] Sent: M

Re: [PyMOL] Calling scripted functions within alter_state

2009-08-24 Thread Stuart Ballard
s you define. > > > > Try: > > > > cmd.alter_state(1, copy, "x,y,z = cmd.sym_partner([x,y,z], stored.tmpOp)") > > instead, after using cmd.extend in your startup or GUI script. > > > > Cheers, > > Warren > > > > >

Re: [PyMOL] Calling scripted functions within alter_state

2009-08-24 Thread Warren DeLano
isc.edu] Sent: Monday, August 24, 2009 3:38 PM To: pymol-users Subject: [PyMOL] Calling scripted functions within alter_state Hello Warren, all, I've been working on a plugin for PyMOLX11Hybrid, in which I have a few lines of code such as: cmd.alter_state(1, copy, "x,y,z = sy

[PyMOL] Calling scripted functions within alter_state

2009-08-24 Thread Stuart Ballard
Hello Warren, all, I've been working on a plugin for PyMOLX11Hybrid, in which I have a few lines of code such as: cmd.alter_state(1, copy, "x,y,z = sym_partner([x,y,z], stored.tmpOp)") AND cmd.alter_state(1, object, "x,y,z = cell_shift_helper([x,y,z],stored.shift)") Both those fun