Skip to content

Conversation

@splidje
Copy link
Contributor

@splidje splidje commented Jan 16, 2021

Added duration_from_start_end_time_inclusive and range_from_start_end_time_inclusive to RationalTime and TimeRange respectively.

…_time_inclusive to RationalTime and TimeRange respectively.
@codecov-io
Copy link

codecov-io commented Jan 16, 2021

Codecov Report

Merging #868 (c96e75e) into master (bcdd9a7) will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #868      +/-   ##
==========================================
+ Coverage   84.18%   84.27%   +0.08%     
==========================================
  Files          74       74              
  Lines        3061     3084      +23     
==========================================
+ Hits         2577     2599      +22     
- Misses        484      485       +1     
Flag Coverage Δ
unittests 84.27% <100.00%> (+0.08%) ⬆️

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

Impacted Files Coverage Δ
src/opentime/rationalTime.h 88.00% <100.00%> (-0.89%) ⬇️
src/opentime/timeRange.h 100.00% <100.00%> (ø)
...lineio/opentime-bindings/opentime_rationalTime.cpp 97.43% <100.00%> (+0.06%) ⬆️
...imelineio/opentime-bindings/opentime_timeRange.cpp 100.00% <100.00%> (ø)

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 bcdd9a7...c96e75e. 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.

looks good to me. Thanks for adding tests!

Copy link
Collaborator

@ssteinbach ssteinbach left a comment

Choose a reason for hiding this comment

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

Really small note to get over the lint failure (to see the lint results locally, run make lint from the top of the source directory)).

Thanks!

range_from_start_end_time = TimeRange.range_from_start_end_time
range_from_start_end_time_inclusive = TimeRange.range_from_start_end_time_inclusive
duration_from_start_end_time = RationalTime.duration_from_start_end_time
duration_from_start_end_time_inclusive = RationalTime.duration_from_start_end_time_inclusive
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is triggering a lint error for being too long (see: https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/868/checks?check_run_id=1714226672 ). I think you can fix it:

Suggested change
duration_from_start_end_time_inclusive = RationalTime.duration_from_start_end_time_inclusive
duration_from_start_end_time_inclusive = (
RationalTime.duration_from_start_end_time_inclusive
)

@ssteinbach
Copy link
Collaborator

Great, thanks!

@ssteinbach ssteinbach merged commit 47bd489 into AcademySoftwareFoundation:master Jan 21, 2021
@splidje splidje deleted the from_start_end_time_inclusive branch January 21, 2021 08:42
@jminor
Copy link
Collaborator

jminor commented Jan 21, 2021

@splidje I don't see a CLA from you. Did I miss it? If not, could you send us a signed CLA as documented here: https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html

@splidje
Copy link
Contributor Author

splidje commented Jan 23, 2021

@splidje I don't see a CLA from you. Did I miss it? If not, could you send us a signed CLA as documented here: https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html

Apologies! I've sent that over now.

@jminor
Copy link
Collaborator

jminor commented Jan 23, 2021

Thanks! Got it.

@ssteinbach ssteinbach added this to the Public Beta 14 milestone Apr 12, 2021
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