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.
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
Fix the nx_char type for numpy to and . #554
base: master
Are you sure you want to change the base?
Fix the nx_char type for numpy to and . #554
Changes from 7 commits
0f46c34
dd8beb4
351f377
00b78aa
3ad40a0
6cf6f6d
539bdea
cde7a6e
4ab4b53
ae10916
8f4291e
099b965
4da5735
d4f4c2f
1925d5d
ecb4914
2fae4de
4a29251
31cd131
ca1ef4f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 suggest to rename this to
callable
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.
or test_function
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.
This would still tread a field with wrong datatype as undocumented. Is that really what we want?
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.
Sorry, I am confused what is exact suggestion here?
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 will make a suggestions in another PR
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 think you are getting two warnings (as you mentioned above), one is for
... without documentation
(which is wrong) and another one is related NX data type (expected).But I see different behavior in our test warning,
There is no
... without documentation warning
.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.
Though
@axes
is defined inNXmpes_arpes.nxdl.xml
(https://github.com/FAIRmat-NFDI/nexus_definitions/blob/fairmat/contributed_definitions/NXmpes_arpes.nxdl.xml#L344), but the validation check can not pick that attribute from app def. So, it raise thewithout documentation warning
.This is not an issue with
is_documented
function but might be an issue with algorithm how it resolves the nexus tree and node.You can continue to comment in this PR or another PR. I just did a small research how the
undocumention
is coming only for a few quantities e.g.axes
for others where we have false datatype.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.
It works now fine, I think, with #565, and the early commits of #557
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 will merge these to #565 to have a working version there