Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Change version to 0.5.4, update docs and README.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 345256812
  • Loading branch information
MariaNattestad committed Dec 10, 2020
1 parent 27d8720 commit 855d162
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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``.

Expand All @@ -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.
Expand Down
8 changes: 8 additions & 0 deletions docs/source/nucleus/io/genomics_writer.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ Raises:
IOError: if there was any problem opening output_path for writing.
```

<a name="close"></a>

##### `close(self)`

```
Explicitly closes writer.
```

<a name="write"></a>
##### `write(self, proto)`
```
Expand Down
2 changes: 1 addition & 1 deletion nucleus/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion nucleus/pip_package/egg_files/PKG-INFO
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 855d162

Please sign in to comment.