As a point of minor clarification:

The "quiet" option (if present) is set to zero by default for parsed PyMOL
commands, but is not set for Python API calls.

In other words,

zoom

is nearly equal to

cmd.zoom(quiet=0)

even though the Python definition for "zoom" has quiet=1 as a default
argument setting.  And thus,

zoom quiet=0

is redundant.

but 

zoom quiet=1

could be of use in command scripts to suppress output that is enabled by
default.

The intent behind this behavior is to enable Python-based programs to
execute as fast as possible with minimum output while calling the same exact
functions available to users at the command prompt and in command scripts
where feedback is typically desirable.

Cheers,
Warren

--
DeLano Scientific LLC
Subscriber Support Services
mailto:del...@delsci.info
 

> -----Original Message-----
> From: pymol-users-boun...@lists.sourceforge.net 
> [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf 
> Of Andreas Förster
> Sent: Wednesday, February 13, 2008 11:20 AM
> To: Michael Summers
> Cc: pymol-users@lists.sourceforge.net
> Subject: Re: [PyMOL] help with batch mode
> 
> Hey Michael,
> 
> with some commands, you can use the (somewhat poorly 
> documented) option 'quiet=0' to get results sent to standard 
> output, like so:
> 
> load ./final/final.001.pdb
> load ./final/final.002.pdb
> fit (final.002///13-30/c,ca,n), (final.001///13-30/c,ca,n), quiet=0
> 
> 
> Andreas
> 


Reply via email to