[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[modeller_usage] Silencing all Modeller output



Hi,

I wonder if there is a way to silence all output when running
automodel. I have set modeller.log.none() at the beginning of the
script, but I still get a bunch of output:


0 atoms in HETATM/BLK residues constrained
to protein atoms within 2.30 angstroms
and protein CA atoms within 10.00 angstroms
0 atoms in residues without defined topology
constrained to be rigid bodies
>> Model assessment by DOPE potential
DOPE score               : -13973.771484
>> Model assessment by DOPE-HR potential
DOPE-HR score               : -7906.894043
>> Model assessment by DOPE potential
DOPE score               : -13973.771484
>> Normalized DOPE z score: -0.645
[...]
>> Summary of successfully produced models:
Filename                          molpdf     DOPE score  DOPE-HR score
   GA341 score Normalized DOPE score
-----------------------------------------------------------------------------------------------------------
MODEL.B999910001.pdb         12623.23730   -13973.77148    -7906.89404
       1.00000       -0.64460
MODEL.B999910002.pdb         12689.78906   -13755.89648    -7777.28760
       1.00000       -0.54034
[...]


I have also tried to redirect stdout to /dev/null from Python while
Modeller runs, without effect, so I guess this must be coming from a
compiled printf. Is there any other way I am overlooking? In my case I
have several processes running in parallel, and all my output is
cluttered by this.


Thank you,

David.