Releases: althonos/nafcodec
Releases · althonos/nafcodec
v0.3.1
v0.3.0
nafcodec
Changed
- Update
nomtov8.0.
Fixed
Encoder::pushpotentially recording length twice when given both sequence and quality string.SequenceWriter::writenot correctly reporting the number of bytes written for a sequence (#3).
nafcodec-py
Changed
- Update
pyo3tov0.23. - Drop compilation of
tempfileinnafcodec-pywrapper. - Make fields of
Recordstruct copy-on-write. - Avoid copying data from Python heap in
Encoder. - Use
maturininstead ofsetuptools-rustto build the Python wheels.
Fixed
- Use
std::os::raw::c_charto fix Aarch64 build (#2).
v0.2.0
nafcodec
Added
Encoderto write a Nucleotide Archive Format file using generic temporary storage.Flagenum to simplify creation and manipulation ofFlagsobjects withoutu8arithmetics.- Builder types for
EncoderandDecodercreation with different configurations. ExactSizeDecodertrait implementation toDecoder.- Error variants to return on missing fields and invalid sequence characters.
Changed
- Use iterators internally inside reader code.
- Bumped
pyo3dependency tov0.21.1. - Bumped
zstddependency tov0.13.1.
Fixed
- Decoding of record lengths when
qualityfield is requested withoutsequence. - Compilation issue on 32-bit platforms in parser code.
nafcodec-py
Added
- Support for file-like objects in
Decoder. - Proper error conversion for
seekfailures. Decoder.sequence_typeproperty to get the type of sequence being decoded.- Constructor for
Recordobjects. Decoderproperties to access decoded header data.Decoder.__len__implementation using number of sequences in archive.Encoderclass to support encodingRecordobjects into an archive.nafcodec.openfunction to get a decoder or encoder based on literal mode.- Context manager protocol implementation to
Decoderobjects.
Changed
- Use
readintomethod of file-like objects given toDecoderif available.
v0.1.1
Added
nafcodec-pycrate with PyO3 bindings.