-
Notifications
You must be signed in to change notification settings - Fork 11
Fix the nx_char type for numpy to and . #554
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
Closed
Closed
Changes from 7 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0f46c34
Fix the nx_char type for numpy to and .
RubelMozumder dd8beb4
Still char instead of the int is being validated which is wrong.
RubelMozumder 351f377
Remove auto conversion for datatype.
RubelMozumder 00b78aa
extends tests.
RubelMozumder 3ad40a0
resolve PR comments
RubelMozumder 6cf6f6d
Remove unnecessary returned value.
RubelMozumder 539bdea
fix np integer and float.
RubelMozumder cde7a6e
minor change.
RubelMozumder 4ab4b53
check enums for documented fields, and don't return False if any issu…
rettigl ae10916
add enum checking for attributes
rettigl 8f4291e
Adds parsing code for enumeration tree generation during validation
sherjeelshabih 099b965
Fix typos in old test
sherjeelshabih 4da5735
always check data types and enums, and check NXdata attributes separa…
rettigl d4f4c2f
fix typos
rettigl 1925d5d
move enum checking into is_valid_data_field, and proper bool conversion
rettigl ecb4914
satisfy mypy
rettigl 2fae4de
Merge pull request #565 from FAIRmat-NFDI/fix_check_undocumented
rettigl 4a29251
add tests from branch fix_attribute_enum_check
rettigl 31cd131
add review suggestion
rettigl ca1ef4f
Merge pull request #573 from FAIRmat-NFDI/add_more_tests
sherjeelshabih 3aabe0b
Fixes the types and removes bytes from NX_char as that creates failures
sherjeelshabih bd478e8
Fixes for arrays in an array
sherjeelshabih b336ca5
fix mypy error
rettigl e9b025e
ruff
rettigl 8c89eef
Applies suggested fix
sherjeelshabih 1c5538d
Update src/pynxtools/dataconverter/helpers.py
sherjeelshabih 365f061
Applies fixes from suggestions
sherjeelshabih bd250cc
Updates
sherjeelshabih 84426b7
Ruff
sherjeelshabih 5a63c3b
Update src/pynxtools/dataconverter/helpers.py
sherjeelshabih 0d056b7
ruff
sherjeelshabih 70a457c
remove empty string
rettigl b6b112b
Fixes
sherjeelshabih 7892971
move validations tests to test_validation
rettigl ea22d42
fix converted tests
rettigl 8ffd63b
add additional tests for base class elements
rettigl 02f2721
fix validation issues and add further tests
rettigl 3c28c1f
add case and tests for undocumented units
rettigl ae22931
Merge pull request #581 from FAIRmat-NFDI/reorder_tests
sherjeelshabih ed78c74
Merge pull request #577 from FAIRmat-NFDI/more-fixes
sherjeelshabih 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
|
rettigl marked this conversation as resolved.
|
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.