Hi PyMOL Users,
I was wondering if there was a smart way of having a script iterate over all
(or some) of the states. I know that there are the usual iterate and
iterate_state commands available but it appears that it makes for clumsier
code. More specifically, I'm looking to use the
I said, we are on Linux.
But I did not say:
We are using Stereographic glases and emiter connected by 3-wire cable
to the DIN plug on NVIDIA Quadro FX 3000
NVIDIA GLX Module 173.14.17 Mon Feb 23 16:04:17 PST 2009
If of interest, this is openSUSE 11.1 on i386
Am 28.09.2009 16:21, schrieb
Sean,
I'm not sure what you have in mind other than something like (python code):
for state in cmd.count_states():
cmd.iterate_state(state, selection, expression)
where expression is accumulating coordinates from multiple states
Cheers,
Warren
I think I figured it out (though, it wasn't documented). What I needed was to
use:
cmd.get_model(selection, STATE)
I think that's the correct usage? What I needed was to loop through a
selection and then to calculate the sugar pucker information. However, not all
atoms from the selection
Sean,
Yes, that is an alternate route. cmd.get_model is likely slower than
cmd.iterate_state, but should work regardless.
Cheers
Warren
From: Sean Law [mailto:magic...@hotmail.com]
Sent: Monday, September 28, 2009 11:58 AM
To: