Skip to content

Conversation

KarthikRIyer
Copy link
Contributor

Apologies for the delay. I haven't been keeping well for a while.

#1177

Summarize your change.

  • The SVG Adapter erroneously assumed media_reference always has target_url. Eg. GeneratorReference does not have target_url. I've added a check for the attribute before drawing it.

  • The adapter failed with timelines with transitions at the end of a track. Added a fix for that.

@codecov-commenter
Copy link

Codecov Report

Merging #1195 (484b776) into main (1e44ca2) will decrease coverage by 0.00%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1195      +/-   ##
==========================================
- Coverage   86.08%   86.07%   -0.01%     
==========================================
  Files         191      191              
  Lines       19228    19227       -1     
  Branches     2292     2293       +1     
==========================================
- Hits        16552    16550       -2     
  Misses       2123     2123              
- Partials      553      554       +1     
Flag Coverage Δ
unittests 86.07% <57.14%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...c/py-opentimelineio/opentimelineio/adapters/svg.py 90.19% <57.14%> (-0.22%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e44ca2...484b776. Read the comment docs.

Copy link
Collaborator

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to hear you haven't been keeping well. But, thanks for the fix to the adaptor!

@jminor jminor merged commit 06136cd into AcademySoftwareFoundation:main Jan 20, 2022
jminor pushed a commit that referenced this pull request Feb 11, 2022
- Check if media reference contains target_url
- Fix drawing transitions at end of track
@ssteinbach ssteinbach added this to the Public Beta 15 milestone Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants