This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Integrate Movie context manager into DataInterface #372
Merged
Merged
Changes from 9 commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
125a09c
add video capture context
Saksham20 dbf31cf
use videocapture context, allow multiple video files for external mode,
Saksham20 098143c
add separate file for testing movie interface
Saksham20 952b7f4
fixing test
Saksham20 5dbe1e1
Automated changes
CodyCBakerPhD f5d4e22
Merge branch 'main' into add_context_class_movie
Saksham20 d7f7a64
keeping videocapture context as open
Saksham20 7f79717
asserting module name and description only if under processing
Saksham20 30f2a0a
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 22bc5bc
Merge branch 'main' into add_context_class_movie
CodyCBakerPhD 64cf463
restructure tests: rename, remove non test method
Saksham20 6775cd3
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 8141131
Automated changes
CodyCBakerPhD 68f757b
Merge branch 'main' into add_context_class_movie
Saksham20 4c7b9fe
fix starting times fixture error
Saksham20 bdd674a
fixture to create a temp directory, but fixes
Saksham20 a9693a2
Automated changes
CodyCBakerPhD 1330fe5
using video context manager for chunk_data=False
Saksham20 8bc7f32
using parameterization for chunk data
Saksham20 9b29954
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 3bfd44b
Automated changes
CodyCBakerPhD c70f807
fixing Path.unlink missing_ok error
Saksham20 56952b6
Merge branch 'main' into add_context_class_movie
CodyCBakerPhD 5aa7248
adding back datachunkiterator for chunk_data=False
Saksham20 f5ff1c5
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 55e0eaa
Automated changes
CodyCBakerPhD af60a40
for iterating over videocapturecontext, open and close the video file…
Saksham20 e9aaa61
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 7a863d0
Automated changes
CodyCBakerPhD f89ceaf
using unittests
Saksham20 1050c6f
Automated changes
CodyCBakerPhD cb64e80
adding teardown
Saksham20 c9792b4
iterable frame setting bug fix
Saksham20 82eb5f7
Merge branch 'main' into add_context_class_movie
Saksham20 4b902c7
using VideoWriter as an attribute of context
Saksham20 fdb2929
Automated changes
CodyCBakerPhD e506772
Merge branch 'add_context_class_pre_pr' into add_context_class_movie
Saksham20 ad96bc6
contextmanager not open, bug fix
Saksham20 97e159f
update session_start_time
Saksham20 08ddda4
Automated changes
CodyCBakerPhD cf5dd64
Merge branch 'add_context_class_pre_pr' into add_context_class_movie
Saksham20 73c323d
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 b8db4c6
Automated changes
CodyCBakerPhD 7fb405c
remove cv2 import
Saksham20 b3e62fe
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 7c65f12
Automated changes
CodyCBakerPhD 93e803c
Merge branch 'main' into add_context_class_movie
Saksham20 4c58e4a
manual update from main branch
Saksham20 984230c
remove old functions used to interact with movie files
Saksham20 f6fafbf
Automated changes
CodyCBakerPhD 5b4d92f
black format
Saksham20 1c0a2fd
Automated changes
CodyCBakerPhD cb93993
pycharm reformat code
Saksham20 57893cb
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 1a0ac5c
Automated changes
CodyCBakerPhD 5b54cec
Merge branch 'main' into add_context_class_movie
CodyCBakerPhD 3a37b53
Apply suggestions from code review
Saksham20 bb68d9c
adding compression options
Saksham20 8b8ca55
move VideoCapture import to module
Saksham20 5a1dbc9
enumerate bug
Saksham20 a9723d8
Automated changes
CodyCBakerPhD d01ee86
Apply suggestions from code review
Saksham20 a790aee
h5dataio arg name fix
Saksham20 1223aa6
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 cc4d38c
Automated changes
CodyCBakerPhD 27f58e4
Merge branch 'main' into add_context_class_movie
CodyCBakerPhD 921b050
custom starting times for external files mode
Saksham20 3c1d099
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 6c48c3d
Automated changes
CodyCBakerPhD bfbd540
iterable as np array
Saksham20 dfe5061
code reduction
Saksham20 bf82066
Automated changes
CodyCBakerPhD afbde83
starting_times assertion for external mode false
Saksham20 d4f10bc
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 62b39d2
files list separate for imageserieskwargs unique
Saksham20 56c1125
Automated changes
CodyCBakerPhD 0106584
Merge branch 'main' into add_context_class_movie
Saksham20 4179926
code review suggestions
Saksham20 f5d1fff
Automated changes
CodyCBakerPhD d9ade5e
H5DataIO args bug
Saksham20 33139a7
starting times as nan
Saksham20 bca08f1
trimming frames for stub test
Saksham20 ebb2ade
starting times as None
Saksham20 212fb41
fix starting _times error
Saksham20 b76d71f
tests for starting_time and multiple files
Saksham20 6abfb5d
Automated changes
CodyCBakerPhD 0125ee9
assert starting times
Saksham20 3bd1423
Automated changes
CodyCBakerPhD ebcf479
assert starting times: tests
Saksham20 bc82e63
Merge remote-tracking branch 'origin/add_context_class_movie' into ad…
Saksham20 5e2d5a2
duplicate kwargs test update
Saksham20 bd67a7b
tests for stub_Test
Saksham20 c0df303
Automated changes
CodyCBakerPhD File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Might as well include compression options as well.
Also compression should have optional (i.e., including
None
) capability if they so choose.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.
yes, thanks for that. Indeed we can use compression options to input to
H5DataIO
bb68d9cThere 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.
Of course, it will need aliasing in the actual
H5DataIO
call since there it is calledcompression_opts
(less descriptive imo)