From: Sean L. <mag...@ho...> - 2010-05-26 14:08:50
|
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. http://go.microsoft.com/?linkid=9729707 |