Skip to content

Version 4.3.3

Compare
Choose a tag to compare
@levitsky levitsky released this 29 Sep 16:11
· 512 commits to master since this release
29f4136
  • 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 using read, the parser class to instantiate is guessed
    based on the mode of the file object passed to read (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 case use_index is not explicitly passed to read and reading mode is not obvious.
    There will also be warnings if use_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 specify use_index to read in all corner cases.