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.2, update docs and README.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 320291036
  • Loading branch information
gunjanbaid authored and copybara-github committed Jul 8, 2020
1 parent c179b70 commit d020b04
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,15 @@ bazel test -c opt $COPT_FLAGS nucleus/...

## Version

This is Nucleus 0.5.1. Nucleus follows [semantic
This is Nucleus 0.5.2. Nucleus follows [semantic
versioning](https://semver.org/).

New in 0.5.2:

* Upgrades htslib dependency from 1.9 to 1.10.2.
* More informative error message for failed SAM header parsing.
* `util/vis.py` now supports saving images to Google Cloud Storage.

New in 0.5.1:

* Added new utilities for working with DeepVariant pileup images and variant protos.
Expand Down
5 changes: 4 additions & 1 deletion docs/source/nucleus/util/vis.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,10 @@ Make a PNG and show it from a numpy array of dtype=np.uint8.
Args:
arr: numpy array. Input array to save.
path: str. file path at which to save the image.
path: str. File path at which to save the image. A .png prefix is added if
the path does not already have one. Leave empty to save at /tmp/tmp.png,
which is useful when only temporarily showing the image in a Colab
notebook.
image_mode: "RGB" or "L". Leave as default=None to choose based on image
dimensions.
show: bool. Whether to display the image using IPython (for notebooks).
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.1"
NUCLEUS_VERSION="0.5.2"
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.1
Version: 0.5.2
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 d020b04

Please sign in to comment.