Skip to content

Lint pass. - #4

Open
ssteinbach wants to merge 28 commits into
alatdneg:bisect_optimizationfrom
ssteinbach:alatdneg-bisect_optimization
Open

Lint pass.#4
ssteinbach wants to merge 28 commits into
alatdneg:bisect_optimizationfrom
ssteinbach:alatdneg-bisect_optimization

Conversation

@ssteinbach

@ssteinbach ssteinbach commented Nov 21, 2018

Copy link
Copy Markdown

This should fix the lint errors. Sorry about the delay on that! Thanks again for your help.

peachey and others added 17 commits November 14, 2018 14:35
…ation#386)

* Hide the data member of SerializableObject
* Expose data() on unknown schema instead.
* Hide update() method.
* Use a clip's parent Track kind to determine if we're dealing with a audio clip or not. Create a blank mediaproc for audio files to avoid no image warnings in RV.
…reFoundation#397)

* Add code printing a helpful message if pip or setuptools is out of date.
* Float the versions of dependencies rather than explicitly pin them.
* Lock to pyside2 5.x
…reFoundation#396)

Switched from using pyaaf, to pyaaf2, which is a pure python reimplementation of the AAF library. 

This switch was made in order to make building & installing this easier (many people have trouble getting the AAF libraries to work) and to provide more flexibility into the future.

There are some subtle differences in the AAF metadata that the adapter places into the resulting OTIO, but this seems harmless.

Performance is not as good as it was before, but we hope that we will be better able to profile and optimize this after this switch is complete.

The only outstanding issue that could prevent this from being part of an upcoming OTIO release, is that the pyaaf2 install is done via a git clone from the master branch of pyaaf2. Once the next release of pyaaf2 comes out, we can switch to a regular pip install via pypi (in a future PR to OTIO).

Thanks @freesonluxo and @shahbazk8194 for making this change!
* Make RationalTime immutable.
* Make TimeRange immutable.

* Fix bugs related to immutable time ranges.
* Fix the clamped function (+ unit test).

* Fix in the TimeRange constructor.
- Now, if you only provide start_time or duration (not both), the constructor will try and read the rate for the default-constructor created other field from the one you provided
- This revealed a bug in one of the files in the unit test suite, which had RV sources with an FPS of 1

* Add unit tests for immutability and += when self.rate > other.rate.
If you attempt to add an object to a composition, but that object already has a parent, an exception is now raised. You need to remove the object from it's old parent before adding it to the new one.
…on#401)

If you ask for the trimmed_range_in_parent() for a clip that is completely trimmed out, then it returns None.
* Fix: wrong type for "hooks"
* Fix: _json_path is not set for hook_scripts
* Fix: manifest extend() does not include hooks / hook_scripts
* Fix: added missing hook to tutorial sample code
@ssteinbach
ssteinbach force-pushed the alatdneg-bisect_optimization branch from 92b9845 to 157c9ad Compare December 22, 2018 01:00
@ssteinbach
ssteinbach force-pushed the alatdneg-bisect_optimization branch from 157c9ad to fd8e46a Compare February 7, 2019 22:22
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.

9 participants