Skip to content
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

Adding a context manager for playback objects #130

Merged
merged 3 commits into from
Jun 4, 2021

Conversation

qenops
Copy link
Contributor

@qenops qenops commented Jun 2, 2021

With statements keep things tidy. So I added support for them in the playback object.

lpasselin and others added 2 commits May 19, 2021 17:35
* fix install fail on recent python with python_version requirement

* Add functions to access system timestamps for each image (etiennedub#122)

* fix memory usage problem for calls to capture.transformed_ir (etiennedub#125)

* version 1.2.4

Co-authored-by: Johan von Forstner <[email protected]>
@codecov
Copy link

codecov bot commented Jun 3, 2021

Codecov Report

Merging #130 (7dea312) into develop (54d90ec) will decrease coverage by 0.32%.
The diff coverage is 40.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #130      +/-   ##
===========================================
- Coverage    86.47%   86.15%   -0.33%     
===========================================
  Files           10       10              
  Lines          710      715       +5     
===========================================
+ Hits           614      616       +2     
- Misses          96       99       +3     
Impacted Files Coverage Δ
pyk4a/playback.py 95.72% <40.00%> (-2.49%) ⬇️

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 54d90ec...7dea312. Read the comment docs.

@lpasselin lpasselin changed the base branch from master to develop June 3, 2021 01:02
@lpasselin
Copy link
Collaborator

Hi and thank you for the PR!
We'll merge this in the develop branch. Is it possible for you to rebase your branch on develop before merging?

@qenops
Copy link
Contributor Author

qenops commented Jun 3, 2021

Yeah...I don't know why I didn't do my changes on develop to start with. Will update soon.

rebase develop with master and merging develop back
@qenops
Copy link
Contributor Author

qenops commented Jun 4, 2021

Updated my branch.

@lpasselin lpasselin merged commit 23b99f8 into etiennedub:develop Jun 4, 2021
@lpasselin lpasselin mentioned this pull request Aug 7, 2021
lpasselin added a commit that referenced this pull request Aug 7, 2021
* fix install fail on recent python with python_version requirement

* Add functions to access system timestamps for each image (#122)

* fix memory usage problem for calls to capture.transformed_ir (#125)

* version 1.2.4

* Adding a context manager for playback objects (#130)


* Added support for with statements

Co-authored-by: David Dunn <[email protected]>

* Windows sdk autodetection (#132)

* Autodetecting Kinect SDK for windows

* Fixes

* Fixes

* DLL Autodetection

* Latest fixes

* update version

* rephrase readme

* refactor and add K4A_DLL_DIR

* minor readme change

* rename loader to module

* fix multiline string

* Update module.py

fix lint

* Minor fix

Co-authored-by: Louis-Philippe Asselin <[email protected]>

* Add develop branch for ci target (#139)

Co-authored-by: Johan von Forstner <[email protected]>
Co-authored-by: Louis-Philippe Asselin <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: Ilya Gruzinov <[email protected]>
lpasselin added a commit that referenced this pull request Aug 7, 2021
* fix install fail on recent python with python_version requirement

* Add functions to access system timestamps for each image (#122)

* fix memory usage problem for calls to capture.transformed_ir (#125)

* version 1.2.4

* Adding a context manager for playback objects (#130)


* Added support for with statements

Co-authored-by: David Dunn <[email protected]>

* Windows sdk autodetection (#132)

* Autodetecting Kinect SDK for windows

* Fixes

* Fixes

* DLL Autodetection

* Latest fixes

* update version

* rephrase readme

* refactor and add K4A_DLL_DIR

* minor readme change

* rename loader to module

* fix multiline string

* Update module.py

fix lint

* Minor fix

Co-authored-by: Louis-Philippe Asselin <[email protected]>

* Add develop branch for ci target (#139)

* rename 1.2.5 to 1.3.0

Co-authored-by: Johan von Forstner <[email protected]>
Co-authored-by: Louis-Philippe Asselin <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: Ilya Gruzinov <[email protected]>
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.

2 participants