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
Add ALE adapter round-trip CDL values #1054
base: main
Are you sure you want to change the base?
Add ALE adapter round-trip CDL values #1054
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1054 +/- ##
=======================================
Coverage 79.05% 79.05%
=======================================
Files 113 113
Lines 6122 6122
=======================================
Hits 4840 4840
Misses 1282 1282
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
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.
Hi @Viraj-Rana008,
Thanks for contributing! It looks like the changes might be in the read code instead of the writer code - also it looks like it's somewhat matching EDL syntax instead of ALE syntax.
It might be best to start by adding a unittest to make sure CDL data round-trips properly and that will help make clearer whether or not the behavior is correct.
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.
Looks like it's coming along! Looks like the next big thing is to add unittesting to make sure this behaves as expected.
Waiting on tests to be added. |
@Viraj-Rana008 could you add some tests for this new feature? |
Yes, I'll work on it. |
Can you provide some direction? Won't "test_ale_roundtrip" suffice for the changes? |
Changed sample data from sample.ale to sample_cdl.ale in test_ale_roundtrip().
Hi @Viraj-Rana008, An ALE CDL write test should be able to cover it. You could create a |
This change should move to OpenTimelineIO/otio-ale-adapter. |
Fixes #1050
Summary
Appended ASC_SOP and ASC_SAT values for the round-trip of data.
To provide a similar behavior as EDL adapter.