Hi Annika,
You'll have to add the state explicitly to cmd.load:
from glob import glob
lst = glob("ff*.pdb")
lst.sort()
for i in range(len(lst)): cmd.load(lst[i],"mov1",state=31+i)
Hope it helps,
Tsjerk
On Wed, Apr 8, 2009 at 11:11 AM, Annika Kreuchwig <[email protected]> wrote:
> Dear PyMOL list,
>
>
>
> I am trying to load files from a morph in pymol with:
>
>
>
> from glob import glob
>
> lst = glob("../TSHR_und_G_Protein/ff*.pdb")
>
> lst.sort()
>
> for fil in lst: cmd.load(fil,"mov")
>
>
>
> from glob import glob
>
> lst = glob("ff*.pdb")
>
> lst.sort()
>
> for fil in lst: cmd.load(fil,"mov1")
>
>
>
> in two different objects and they are supposed to be in different states.
> Right now I think they are all in the states 1-30 (30 files each)
>
>
>
> How do I change this?
>
>
>
> Thanks for your reply!
>
>
>
> Annika
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> PyMOL-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>
>
--
Tsjerk A. Wassenaar, Ph.D.
Junior UD (post-doc)
Biomolecular NMR, Bijvoet Center
Utrecht University
Padualaan 8
3584 CH Utrecht
The Netherlands
P: +31-30-2539931
F: +31-30-2537623