Version 4.3.3
-
Add
pyteomics.electrochem.gravy
(#9). -
Fixes and improvements in
pyteomics.pepxml.roc_curve
(#10). -
Changes in guessing behavior of
read
functions.In modules that implement indexing parsers for non-XML formats (MGF, FASTA, PEFF, ms1/ms2),
when a parser is instantiated usingread
, the parser class to instantiate is guessed
based on the mode of the file object passed toread
(text or binary).With some file-like objects, mode cannot be easily deduced without consuming some of the data.
You will now see more warnings in caseuse_index
is not explicitly passed toread
and reading mode is not obvious.
There will also be warnings ifuse_index
is specified but the file is opened in the wrong mode.
To avoid all of this, you are encouraged to instantiate parser classes directly,
or explicitly specifyuse_index
toread
in all corner cases.