Structured array highlevel accessors#3098
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3098 +/- ##
=======================================
Coverage 89.95% 89.96%
=======================================
Files 29 29
Lines 32471 32498 +27
Branches 5823 5823
=======================================
+ Hits 29209 29236 +27
Misses 1860 1860
Partials 1402 1402
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
941ba92 to
2e25635
Compare
python/tskit/trees.py
Outdated
| ) | ||
|
|
||
| @property | ||
| def individuals_metadata_offset(self): |
There was a problem hiding this comment.
I'm not sure we want to offer this array in the high-level API. It may just be confusing. I would pull this out of the current PR, as it's orthogonal
|
@jeromekelleher one more thought here - we could return the raw metadata bytes if the codec doesn't support structuring? |
|
Let's not - maybe we'll think of a better way of doing things in future and having it error out now leaves those options open. |
|
@jeromekelleher Could I get a final check here? |
jeromekelleher
left a comment
There was a problem hiding this comment.
LGTM. Would be good to have a perf check just to be sure before release, but happy to merge this.
b74b824 to
5c107db
Compare
No description provided.