From 855d162e6eb6ebd42ac73a0b1607ce68879241bf Mon Sep 17 00:00:00 2001 From: marianattestad Date: Wed, 2 Dec 2020 10:08:54 -0800 Subject: [PATCH] Change version to 0.5.4, update docs and README. PiperOrigin-RevId: 345256812 --- README.md | 8 ++++++-- docs/source/nucleus/io/genomics_writer.md | 8 ++++++++ nucleus/pip_package/build_pip_package.sh | 2 +- nucleus/pip_package/egg_files/PKG-INFO | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cee39a2..ca5958f 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Note that install.sh extensively depends on apt-get, so it is unlikely to run without extensive modifications on non-Debian-based systems. Nucleus depends on TensorFlow. By default, install.sh will -install a CPU-only version of a stable TensorFlow release (currently 1.11). +install a CPU-only version of a stable TensorFlow release (currently 2.1). If that isn't what you want, there are several other options that can be enabled with a simple edit to ``install.sh``. @@ -87,9 +87,13 @@ bazel test -c opt $BAZEL_FLAGS nucleus/... ## Version -This is Nucleus 0.5.3. Nucleus follows [semantic +This is Nucleus 0.5.4. Nucleus follows [semantic versioning](https://semver.org/). +New in 0.5.4: +* Upgrade to protobuf 3.8.0 to support TensorFlow 2.1.0. +* Add explicit .close() method to TFRecordWriter. + New in 0.5.3: * Fixes memory leaks in message_module.cc. diff --git a/docs/source/nucleus/io/genomics_writer.md b/docs/source/nucleus/io/genomics_writer.md index 075a3e0..247b1ad 100644 --- a/docs/source/nucleus/io/genomics_writer.md +++ b/docs/source/nucleus/io/genomics_writer.md @@ -119,6 +119,14 @@ Raises: IOError: if there was any problem opening output_path for writing. ``` + + +##### `close(self)` + +``` +Explicitly closes writer. +``` + ##### `write(self, proto)` ``` diff --git a/nucleus/pip_package/build_pip_package.sh b/nucleus/pip_package/build_pip_package.sh index bc0074a..a3af0cd 100755 --- a/nucleus/pip_package/build_pip_package.sh +++ b/nucleus/pip_package/build_pip_package.sh @@ -28,7 +28,7 @@ set -x # When changing NUCLEUS_VERSION, be sure to also change it in # egg_files/PKG-INFO. -NUCLEUS_VERSION="0.5.3" +NUCLEUS_VERSION="0.5.4" PACKAGE_NAME="google_nucleus-${NUCLEUS_VERSION}" PYTHON_VERSION="3.5" diff --git a/nucleus/pip_package/egg_files/PKG-INFO b/nucleus/pip_package/egg_files/PKG-INFO index 36d79b0..d05e7a2 100644 --- a/nucleus/pip_package/egg_files/PKG-INFO +++ b/nucleus/pip_package/egg_files/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: google-nucleus -Version: 0.5.3 +Version: 0.5.4 Summary: A library for reading and writing genomics data. Home-page: https://github.com/google/nucleus Author: The Genomics team in Google Brain