Release Notes¶
Version 1.2.1: October 5, 2018¶
- Fixed a bug in the python reference library causing start coordinate values to be empty in some cases when writing data.
Version 1.2.0: August 17, 2018¶
- Updated schema set to v1.2.
- Several improvements to the
validate_rearrangement
function. - Changed behavior of all airr.interface functions to accept a file path (string) to a single Rearrangement TSV, instead of requiring a file handle as input.
- Added
base
argument toRearrangementReader
andRearrangementWriter
to support optional conversion of 1-based closed intervals in the TSV to python-style 0-based half-open intervals. Defaults to conversion. - Added the custom exception
ValidationError
for handling validation checks. - Added the
validate
argument toRearrangementReader
which will raise aValidationError
exception when reading files with missing required fields or invalid values for known field types. - Added
validate
argument to all type conversion methods inSchema
, which will now raise aValidationError
exception for value that cannot be converted when set toTrue
. When setFalse
(default), the previous behavior of assigningNone
as the converted value is retained. - Added
validate_header
andvalidate_row
methods toSchema
and removed validations methods fromRearrangementReader
. - Removed automatic closure of file handle upon reaching the iterator end in
RearrangementReader
.
Version 1.1.0: May 1, 2018¶
Initial release.