-
Notifications
You must be signed in to change notification settings - Fork 15
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
42 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 0bac717
#109: Add skeleton test case for opening VR BAG produced by BAG 1.6.3
selimnairb 043fa25
#109: Harmonize 1.6.3 VR BAG test with existing VR BAG compatibility …
selimnairb d4d3e55
#109: Add check for VR refinement array dimensions for test_bag_vrref…
selimnairb 042fb10
#109: test_bag_vrrefinements: Close and re-open test BAG before check…
selimnairb 0032e1e
Merge pull request #143 from OpenNavigationSurface/109-LayerDescripto…
selimnairb 0bedc02
CI: Change download location of libxml2 dependency from GitLab to Gno…
selimnairb b5239c5
CI: Windows: Unzip libxml2 with tar instead of 7z since 7z is incapab…
selimnairb e2e53a9
CI: Update runner version since Ubuntu 20.04 has been sunsetted. Also…
selimnairb 672028e
CI: Rollback attempt to more explicitly set Python version, which doe…
selimnairb 79826f7
CI: Add setup-python action to matrix build
selimnairb a794ce8
CI: Remove redundant python-version 3.10
selimnairb 55f0064
CI: Fix regression in file glob pattern for finding bagPy wheels
selimnairb 0130e4c
#109: Remove commented out with previous, incorrect, behavior, leavin…
selimnairb a97d3e7
CI: Remove deprecated set-output command
selimnairb 4d6a330
CI: Fix ignored paths to include all other actions workflows
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
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.
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?