Closed nguyenv closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.02%. Comparing base (
b53e462
) to head (96124d3
).
Testing the PR branch viviannguyen/throw-somacollection-open-tiledbsoma in https://github.com/jdblischak/centralized-tiledb-nightlies/actions/runs/9585883108
Also passed on my Ubuntu instance (fresh main
this morning was OK on my Mac, not on Ubuntu, I don't know why)
The backport to release-1.12
failed:
The process '/usr/bin/git' failed with exit code 1
To backport manually, run these commands in your terminal:
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-1.12 release-1.12
# Navigate to the new working tree
cd .worktrees/backport-release-1.12
# Create a new branch
git switch --create backport-2753-to-release-1.12
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 7814aaf3d71d21c903fd085d042693c865b3b29e
# Push it to GitHub
git push --set-upstream origin backport-2753-to-release-1.12
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-1.12
Then, create a pull request where the base
branch is release-1.12
and the compare
/head
branch is backport-2753-to-release-1.12
.
Pybind11 sometimes throws a TileDBError and other times a RuntimeError whenever it translates a TileDBError exception from C++. What's odd is that we don't even have a TileDBError binding in SOMA, but maybe it picks it up from tiledb-py (but only sometimes?). I am not sure. But in any case I would just like to consistently rethrow as SOMAErrors in the C++ code.
Removing the backport release-1.12
tag
main
but not release-1.12
, and would need to berelease-1.12
Issue and/or context:
Fix for https://github.com/jdblischak/centralized-tiledb-nightlies/issues/12#issuecomment-2178827937
Changes:
Rethrow
TileDBError
asTileDBSOMAError
inSOMAGroup
classes.