Hi Tsjerk,

# sets the upper limit for auto defer; -1 = ignore altogether

set auto_defer_builds, -1

# make 1000 states

cmd.read_pdbstr("".join(["MODEL%9d\nATOM      1  CA  ALA     1
%8.3f%8.3f%8.3f  1.00  0.00\nENDMDL\n"%(i,i,0,0) for i in
range(1000)]), "test")

set all_states

Cheers,

-- Jason


On Thu, Jan 13, 2011 at 9:13 AM, Tsjerk Wassenaar <tsje...@gmail.com> wrote:
> This should of course have been sent to the list... Apologies.
>
> Tsjerk
>
>
> ---------- Forwarded message ----------
> From: Tsjerk Wassenaar <tsje...@gmail.com>
> Date: Thu, Jan 13, 2011 at 10:47 AM
> Subject: all_states failure with 500 or more models
> To: Jason Vertrees <jason.vertr...@schrodinger.com>
>
>
> Hi Jason,
>
> Another glitch with all_states it seems. When loading a pdb with 500
> frames or more, the OpenGL window starts displaying weird behaviour.
> It doesn't properly respond to changes in the representation for
> instance. If saw the problem with version 1.2r2 on Ubuntu, installed
> through apt-get, as well as with version 1.3 I compiled from SVN on my
> Ubuntu EEE. I didn't have the problem with version 0.99rc6 under
> windows on the same machine (EEE pc).
>
> I've found that I could reproduce the problem on the command line:
>
> # This works fine (499 models)
> cmd.read_pdbstr("".join(["MODEL%9d\nATOM      1  CA  ALA     1
> %8.3f%8.3f%8.3f  1.00  0.00\nENDMDL\n"%(i,i,0,0) for i in
> range(499)]), "test")
> set all_states,1
> # Play around with showing spheres, hiding spheres, etc
> set all_states,0
> delete test
>
> # Whereas this fails
> cmd.read_pdbstr("".join(["MODEL%9d\nATOM      1  CA  ALA     1
> %8.3f%8.3f%8.3f  1.00  0.00\nENDMDL\n"%(i,i,0,0) for i in
> range(500)]), "test")
> set all_states,1
> # Play around TRYING showing spheres, hiding spheres, etc
>
> If you need more information, please let me know.
>
> Cheers,
>
> Tsjerk
>
> --
> 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
>
>
>
> --
> 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
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> 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
>



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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