Dear Pymolers,

Well I asked about the possibility of supressing some output
from pymol earlier.
I'm so happy that I found something important.

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.

But today I decided to dig in the code and found that
there are two undocumented arguments to "selection"...

def select(name,selection="",quiet=0,show=0):

I tried the combinations of the use of them and found that
the selection operation will be quiet if we just set quiet=1.
However, the value of show has no effect in my tests.

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.

Cheers,
K.K.Liang

Reply via email to