Hey :)

You could copy the state to the b-factor field:

fetch 1nmr, async=1
split_states 1nmr
for i in range(1,cmd.count_states()+1): cmd.alter("1nmr_%04d"%i,"b=%d"%i)
delete 1nmr
spectrum b

Cheers,

Tsjerk

On Mon, Dec 19, 2011 at 7:38 AM, Jason Vertrees
<jason.vertr...@schrodinger.com> wrote:
> Hi Jacob,
>
> You cannot use the spectrum command across multiple states like that.
> Your next best bet is to try:
>
> set color, color_name, obj_name, state=X
>
> For example,
>
> set line_color, red, myProtein,  state=1
> set line_color, orange, myProtein, state=2
> set line_color, yellow, myProtein, state=3
> ...
>
> Cheers,
>
> -- Jason
>
> On Sun, Dec 18, 2011 at 9:38 PM, Jacob Keller
> <j-kell...@fsm.northwestern.edu> wrote:
>> type
>
>
>
> --
> Jason Vertrees, PhD
> PyMOL Product Manager
> Schrodinger, LLC
>
> (e) jason.vertr...@schrodinger.com
> (o) +1 (603) 374-7120
>
> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________
> 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



-- 
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

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
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