Repository navigation
Add python bindings for the edit functions - #2077
darbyjohnston merged 3 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2077 +/- ##
==========================================
+ Coverage 86.70% 87.33% +0.63%
==========================================
Files 186 189 +3
Lines 13762 13925 +163
Branches 1280 1273 -7
==========================================
+ Hits 11932 12162 +230
+ Misses 1660 1592 -68
- Partials 170 171 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
The functions in algo/editAlgorithm.h (overwrite, insert, trim, slice, slip, slide, ripple, roll, fill and remove) and the ReferencePoint enum are available as otio.algorithms.edit. The tests check that each one can be called from Python; the algorithms are tested in C++. Signed-off-by: Darby Johnston <darbyjohnston@yahoo.com>
007d1b1 to
2d72e54
Compare
|
Fixes from the original PR split out here: |
|
@darbyjohnston is it worth setting up a CI job that checks the coverage of the C++ functions for python coverage going forwards, similar to the one that checks for test coverage and posting that as a comment? |
|
I think the edit functions didn't have Python bindings because they were considered experimental: They have been in C++ API for a few years now, so it seems reasonable to also include them with Python. |
I would agree with that assessment. |
timlehr
left a comment
There was a problem hiding this comment.
Thanks @darbyjohnston. Awesome to get these finally into Python. Anything holding this back still? Code seems fine to me.
|
I think this is ready, there is a related PR with some possible bug fixes for the functions (#2079), but that doesn't have to hold up this one. |
|
@darbyjohnston Sweet, I'd say land this, before it gets stale. |
|
Thanks for the reviews! I'll go ahead and merge... |
a501b17
into
AcademySoftwareFoundation:main
This PR adds Python bindings for the editing functions:
src/opentimelineio/algo/editAlgorithm.hAssisted-by: Claude Code / Claude Opus 5.5