[BioPython] PDBConstructionException message

Felix Schlesinger f.schlesinger at iu-bremen.de
Mon Jul 10 12:33:59 UTC 2006


Hi.
> >  >>> parser = PDBParser(PERMISSIVE=0)
> > should solve your problem.
> Why doesn't the except clause catch the exception?

>From a brief look, it seems that with permissive=1 the exception is
caught inside the parser and handled by printingt a warning. If you
switch to permissive=0 the exception will propagate and you can catch
it.

Felix



More information about the Biopython mailing list