Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transform3d_simple and reenable roundtrip test #3401

Merged
merged 3 commits into from Sep 22, 2023

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Sep 22, 2023

Title.

What

Checklist

@teh-cmc teh-cmc added 🔨 testing testing and benchmarks examples Issues relating to the Rerun examples labels Sep 22, 2023
@teh-cmc teh-cmc force-pushed the cmc/bring_back_transform3d_simple branch from c0a1fd8 to ad3c1ce Compare September 22, 2023 07:45
Copy link
Member

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was broken?

docs/code-examples/transform3d_simple.py Show resolved Hide resolved
@teh-cmc
Copy link
Member Author

teh-cmc commented Sep 22, 2023

What was broken?

They were all logging slightly different data so roundtrip was broken and thus commented out.

@@ -31,7 +31,7 @@ class TensorBuffer(TensorBufferExt):

# You can define your own __init__ function as a member of TensorBufferExt in tensor_buffer_ext.py

inner: npt.NDArray[np.float16] | (npt.NDArray[np.float32] | (npt.NDArray[np.float64] | (npt.NDArray[np.int16] | (npt.NDArray[np.int32] | (npt.NDArray[np.int64] | (npt.NDArray[np.int8] | (npt.NDArray[np.uint16] | (npt.NDArray[np.uint32] | (npt.NDArray[np.uint64] | npt.NDArray[np.uint8]))))))))) = field(converter=TensorBufferExt.inner__field_converter_override) # type: ignore[misc]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay, spurious format changes

@teh-cmc teh-cmc force-pushed the cmc/bring_back_transform3d_simple branch from ad3c1ce to eddb08f Compare September 22, 2023 14:56
@teh-cmc teh-cmc merged commit 25843e7 into main Sep 22, 2023
19 of 20 checks passed
@teh-cmc teh-cmc deleted the cmc/bring_back_transform3d_simple branch September 22, 2023 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Issues relating to the Rerun examples 🔨 testing testing and benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants