Hi Sean, PyMOL statically allocates space for I/O. I think the current line length is 1024. I ran into the problem a few years ago myself, reported it to Warren and he just bumped the line length from 512 to 1024 or something like that. So, until I come up with a better solution, we're stuck with the fixed line length.
Cheers, -- Jason On Wed, May 26, 2010 at 10:08 AM, Sean Law <magic...@hotmail.com> wrote: > Hi All, > > I noticed that when I write a script that prints something in PyMOL that > there appears to be a limitation to the continuous length that can be > printed to the external GUI. Here is an example script: > > ##################################### > from pymol import cmd > > def testing (): > > out="" > > for i in range (300): > out+=str(i)+" " > > print out > > return > > cmd.extend("testing", testing) > > ################################## > > In this example, my GUI is only able to print the value of "281" before it > inserts a newline character and continues printing. I should note that the > terminal (from where I opened PyMOL) prints everything out correctly. > > Anybody know how to resolve this? > > Thanks. > > Sean > > ________________________________ > MSN Dating: Find someone special. Start now. Start now! > ------------------------------------------------------------------------------ > > > _______________________________________________ > 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 ------------------------------------------------------------------------------ _______________________________________________ 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