Hello,
On 13/11/13 07:27, Jordan Willis wrote:
> rather :)
>
> colors = [‘red’,’blue’]
> fetch 1nmr, discrete=1, async=0
> as ribbon
> set all_states
> for model,color in zip(range(cmd.count_states()),colors):
> cmd.color(str(color), "state %s" % x)
I guess something is wrong on my side becaus
rather :)
colors = [‘red’,’blue’]
fetch 1nmr, discrete=1, async=0
as ribbon
set all_states
for model,color in zip(range(cmd.count_states()),colors): cmd.color(str(color),
"state %s" % x)
On Nov 13, 2013, at 12:23 AM, Jordan Willis wrote:
> zip it like this
>
> colors = [‘red’,’blue’]
> fetch
zip it like this
colors = [‘red’,’blue’]
fetch 1nmr, discrete=1, async=0
as ribbon
set all_states
for color, model in zip(range(cmd.count_states()),colors):
cmd.color(str(color), "state %s" % x)
On Nov 12, 2013, at 11:32 PM, Jerome BENOIT wrote:
> Hello Jason,
>
> thanks for your hint.
>
> Un
Hello Jason,
thanks for your hint.
Unfortunately, I can not produce what I want:
Let assume that I read a local PDB file with different MODELS and
I would like to colour the first model in red, the senond in blue:
what would be the MPL script coaamnd ?
Thanks in advance,
Jerome
On 11/11/13 19:
Hi Jerome,
fetch 1nmr, discrete=1, async=0
as ribbon
set all_states
for x in range(cmd.count_states()): cmd.color(str(x), "state %s" % x)
You can substitute the spectrum command for the color command.
Cheers,
--- Jason
On Sat, Nov 9, 2013 at 8:54 PM, Jerome BENOIT wrote:
> Hello List,
>
> is
Hello List,
is there a way in PML script to apply a specific spectrum to each MODEL (as
define in PDB data file) ?
Thanks in advance,
Jerome
--
November Webinars for C, C++, Fortran Developers
Accelerate application p