-
Notifications
You must be signed in to change notification settings - Fork 25
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
[python] Check for uniqueness of registration obs/var field-name inputs #2380
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2380 +/- ##
===========================================
+ Coverage 66.72% 90.61% +23.88%
===========================================
Files 142 37 -105
Lines 12708 3898 -8810
Branches 511 0 -511
===========================================
- Hits 8480 3532 -4948
+ Misses 4128 366 -3762
+ Partials 100 0 -100
Flags with carried forward coverage won't be shown. Click here to find out more.
|
d979165
to
7b65232
Compare
7b65232
to
89ee20d
Compare
[sc-44549] |
This pull request has been linked to Shortcut Story #44549: Duplicate error during SOMA experiment ingestion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lg! I added 6f452c5 as a minor cleanup (per side-convo)
…ts (#2380) * [python] Check for uniqueness of registration obs/var field-name inputs * conditional contextmanager for boilerplate reduction --------- Co-authored-by: Ryan Williams <[email protected]>
…ts (#2380) (#2385) * [python] Check for uniqueness of registration obs/var field-name inputs * conditional contextmanager for boilerplate reduction --------- Co-authored-by: John Kerl <[email protected]> Co-authored-by: Ryan Williams <[email protected]>
[sc-44675] |
This pull request has been linked to Shortcut Story #44675: tiledbsoma 1.9.4. |
Issue and/or context: When non-unique values are present in
obs
orvar
then append-mode ingest, if it uses that non-uniquely-valued field name as registration inputs, will fail at ingestion time withThis problem happens during the data write.
Changes:
The error should be surfaced earlier, at registration time:
Notes for Reviewer: