-
Notifications
You must be signed in to change notification settings - Fork 14
WIP: 109 layer descriptor shape parameters #110
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
Draft
brian-r-calder
wants to merge
27
commits into
master
Choose a base branch
from
109-LayerDescriptor-shape-parameters
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 20 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a4f69d6
Added support for layer-specific dimensions
brian-r-calder afa60bc
Bug-fixes for VR readers
brian-r-calder ca684a5
Update bag_vrrefinements.cpp
brian-r-calder 78a1205
Adjustment to remove debugging code after initial tests.
brian-r-calder 6fd3fb9
Merge branch 'master' into 109-LayerDescriptor-shape-parameters
selimnairb b45aecf
Fix tests broken by addressing #109.
selimnairb a3cbb27
CI: Enable examples building for test reporting workflow
selimnairb cea1c15
Modification to exception text for consistency
brian-r-calder c8b6515
Fix single-line if statement error; added braces.
selimnairb f9e186e
Fix single-line if statement error; added braces.
selimnairb 7c75ebf
CI: test reporting: Make sure test output is reported to the console,…
selimnairb 2cc6302
Support VR elements stored in either 1D or 2D arrays to be compatible…
selimnairb d49c72d
test: Restructure test 'test vr metadata write read' to only attempt …
selimnairb 3b91e1e
SWIG: Python: first pass updating swig .i files to mirror changes to …
selimnairb 39cee19
Tests: Python: Update tests to reflect layer dimension API fixes
selimnairb 566324e
Store dimensions of layer descriptors as uint64_t internally (rather …
selimnairb 65c33d2
LayerDescriptor: Return dimensions as uint32_t rather than the underl…
selimnairb 98344af
Partial fix to update VR refinements and nodes to use 2D dataspace (a…
selimnairb 72b166d
Merge branch 'master' into 109-LayerDescriptor-shape-parameters
selimnairb d7cd221
Update VR refinements and nodes to use 2D dataspace (as other impleme…
selimnairb 27189ec
Ensure VR descriptors are consistent with shape of underlying H5 data…
selimnairb 60a7a92
Remove unnecessary casts
selimnairb 065acbd
Add explicit cast to uint32_t in LayerDescriptor::getDims()
selimnairb 728ee2f
Fix wheel build on Windows
selimnairb 772e7c9
VR: Add test_vr_bag to test reading an existing VR BAG file; Add exce…
selimnairb 27a6687
test_vr_bag: Ensure BAG dimensions match VR metadata descriptor dimen…
selimnairb cd83fda
tests: Add example VR BAG from NBS archive
selimnairb 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
@brian-r-calder This branch is being taken when running test_bag_vrmetadata.cpp, specifically when the test attempts to read back the VR metadata. Is the test wrong, or is there a mistake in
Layer::read()?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.
I don't see a branch here, but the code is correct --- we have to read the dimensions specifically from the layer rather than from the dataset, since we need to allow each layer to have its own dimensions.
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.
What I meant was
if (columnEnd >= numColumns || rowEnd >= numRows)evaluates totruewhenLayer::read()is called from test_bag_vrmetadata.cpp:452. Is the VR layer being created by the test incorrect?