Hello Nathan,
While we prepare to rollout the "quiet" argument for pair_fit, in the
meantime try:
cmd.feedback("disable", "executive", "results")
Jarrett J.
On Sun, Jul 22, 2018 at 6:47 PM, Jarrett Johnson <
jarrett.john...@schrodinger.com> wrote:
> Hello Nathan,
>
> We actually just implemented a 'quiet' argument for the pair_fit command
> on Friday. This should be live in an upcoming update.
>
> Jarrett J.
>
> On Sun, Jul 22, 2018 at 6:32 PM, <nclem...@cs.utexas.edu> wrote:
>
>> Hi,
>>
>> Consider the following (simplified) Pymol script, test.py:
>>
>> -----
>> import sys
>> cmd.load(sys.argv[1], 'prot1')
>> cmd.load(sys.argv[2], 'prot2')
>> rms = cmd.pair_fit('prot1 & n. ca','prot2 & n. ca')
>> print 'This should print', rms
>>
>> -----
>>
>> I would like the only output for this program to be created by the line,
>> 'This should print.' However, here is what I actually get, with a few
>> different options:
>>
>> $ pymol -qc test.py -- protein.pdb protein.pdb
>> ExecutiveRMS: RMS = 0.000 (96 to 96 atoms)
>> This should print 0.0
>> $ pymol -Qc test.py -- protein.pdb protein.pdb
>> $
>>
>> (The first prints output from ExecutiveRMS, and the second prints nothing
>> at all.)
>> Is there any way to prevent the ExecutiveRMS output? Either
>> programmatically or on the command line?
>>
>> Thanks much,
>>
>> Nathan
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Jarrett Johnson,
> Schrödinger
>
--
Jarrett Johnson,
Schrödinger
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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