Skip to content

Commit

Permalink
Concurrent lidar pcl fix (#423)
Browse files Browse the repository at this point in the history
* don't overwrite LidarPoints with 3d

* bump version
  • Loading branch information
pfmark authored Jan 12, 2024
1 parent d4e20db commit 6660bf2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to the [Nucleus Python Client](https://github.com/scaleapi/n
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.16.15](https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.16.15) - 2024-01-11

### Fixes
- Fix lidar concurrent lidar pointcloud to also return intensity in case it exists in the response.

## [0.16.14](https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.16.14) - 2024-01-03

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions nucleus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,8 +1119,8 @@ def download_pointcloud_tasks(
sample_point = points[0]
if I_KEY in sample_point.keys():
resp[task_id] = [LidarPoint.from_json(pt) for pt in points]

resp[task_id] = [Point3D.from_json(pt) for pt in points]
else:
resp[task_id] = [Point3D.from_json(pt) for pt in points]

return resp

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ignore = ["E501", "E741", "E731", "F401"] # Easy ignore for getting it running

[tool.poetry]
name = "scale-nucleus"
version = "0.16.14"
version = "0.16.15"
description = "The official Python client library for Nucleus, the Data Platform for AI"
license = "MIT"
authors = ["Scale AI Nucleus Team <[email protected]>"]
Expand Down

0 comments on commit 6660bf2

Please sign in to comment.