Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit d020b04

Browse files
gunjanbaidcopybara-github
authored andcommitted
Change version to 0.5.2, update docs and README.
PiperOrigin-RevId: 320291036
1 parent c179b70 commit d020b04

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,15 @@ bazel test -c opt $COPT_FLAGS nucleus/...
8080

8181
## Version
8282

83-
This is Nucleus 0.5.1. Nucleus follows [semantic
83+
This is Nucleus 0.5.2. Nucleus follows [semantic
8484
versioning](https://semver.org/).
8585

86+
New in 0.5.2:
87+
88+
* Upgrades htslib dependency from 1.9 to 1.10.2.
89+
* More informative error message for failed SAM header parsing.
90+
* `util/vis.py` now supports saving images to Google Cloud Storage.
91+
8692
New in 0.5.1:
8793

8894
* Added new utilities for working with DeepVariant pileup images and variant protos.

docs/source/nucleus/util/vis.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,10 @@ Make a PNG and show it from a numpy array of dtype=np.uint8.
256256
257257
Args:
258258
arr: numpy array. Input array to save.
259-
path: str. file path at which to save the image.
259+
path: str. File path at which to save the image. A .png prefix is added if
260+
the path does not already have one. Leave empty to save at /tmp/tmp.png,
261+
which is useful when only temporarily showing the image in a Colab
262+
notebook.
260263
image_mode: "RGB" or "L". Leave as default=None to choose based on image
261264
dimensions.
262265
show: bool. Whether to display the image using IPython (for notebooks).

nucleus/pip_package/build_pip_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ set -x
2828

2929
# When changing NUCLEUS_VERSION, be sure to also change it in
3030
# egg_files/PKG-INFO.
31-
NUCLEUS_VERSION="0.5.1"
31+
NUCLEUS_VERSION="0.5.2"
3232
PACKAGE_NAME="google_nucleus-${NUCLEUS_VERSION}"
3333
PYTHON_VERSION="3.5"
3434

nucleus/pip_package/egg_files/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 1.1
22
Name: google-nucleus
3-
Version: 0.5.1
3+
Version: 0.5.2
44
Summary: A library for reading and writing genomics data.
55
Home-page: https://github.com/google/nucleus
66
Author: The Genomics team in Google Brain

0 commit comments

Comments
 (0)