From: DeLano, W. <wa...@su...> - 2002-07-30 16:54:19
|
Even better: try the "feedback" command: feedback disable,all,actions feedback disable,all,results Will suppress most of PyMOL's normal chatter. From Python: cmd.feedback("disable","all","actions") cmd.feedback("disable","all","results") Warren -- mailto:wa...@su... Warren L. DeLano, Ph.D. Informatics Manager Sunesis Pharmaceuticals, Inc. 341 Oyster Point Blvd. S. San Francisco, CA 94080 (650)-266-3606 FAX:(650)-266-3501 > -----Original Message----- > From: kk...@ga... [mailto:kk...@ga...] > Sent: Monday, July 29, 2002 10:23 PM > To: pym...@li... > Subject: [PyMOL] Suppress some output >=20 >=20 > Dear Pymolers, >=20 > Well I asked about the possibility of supressing some output > from pymol earlier. > I'm so happy that I found something important. >=20 > In my case, what bothered me is that I have to do a lot of > selections and analyze the selected residues. > There are roughly 10,000 selection for each pdb file that I analyze. > That is crazily slow if there is always a > "Selection: xxxx" output for each selection I make. >=20 > But today I decided to dig in the code and found that > there are two undocumented arguments to "selection"... >=20 > def select(name,selection=3D"",quiet=3D0,show=3D0): >=20 > I tried the combinations of the use of them and found that > the selection operation will be quiet if we just set quiet=3D1. > However, the value of show has no effect in my tests. >=20 > I will try to dig out more cases like this if I run into > other routines which also output to console too often. > But you who have your own problem may try to find out > if there is such option in the routine you want to use. >=20 > Cheers, > K.K.Liang=20 |