[Biopython-dev] Adding QUIET argument to PDBParser()

Eric Talevich eric.talevich at gmail.com
Fri May 6 16:23:33 UTC 2011


On Fri, May 6, 2011 at 3:54 AM, João Rodrigues <anaryin at gmail.com> wrote:

> Hello all,
>
> The PDBParser is sometimes a bit too loud, making meaningful output drown
> in
> dozens of warnings messages. This is partly (mostly) my fault because of
> the
> element guessing addition. Therefore, I'd suggest adding a QUIET argument
> (bool) to PDBParser that would supress all warnings. Of course, default is
> False. It might come handy for batch processing of proteins.
>
> I've added it to my pdb_enhancements branch so you can take a look:
>
>
> https://github.com/JoaoRodrigues/biopython/commit/5405d8a4cc555bcfce6ad0915db62a131cee9493
>
>
Since the PERMISSIVE argument is already an integer, could we consolidate
these by letting (PERMISSIVE=2) behave as (PERMISSIVE=1, QUIET=1) ?




More information about the Biopython-dev mailing list