-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
category: bugerrors in the code or code behaviorerrors in the code or code behaviorcategory: questionquestions about code or code behaviorquestions about code or code behaviorpriority: mediumnon-critical problem and/or affecting only a small set of NWB usersnon-critical problem and/or affecting only a small set of NWB userstopic: HDMFissues related to the use, depending on, or affecting HDMFissues related to the use, depending on, or affecting HDMFtopic: docsissues related to documentationissues related to documentationtopic: validatorissues related to validation of filesissues related to validation of files
Description
Related to this issue in dandi-cli and this one in nwbinspector, both within the ecosystem:
A user created a file in MATLAB using datetime objects, but without specifying a timezone. When they tried to upload the file to DANDI, the upload failed. They reported that they had used pynwb-validate to check for errors and found none. I was able to reproduce the issue using their file:
pynwb-validate P22_1120_FBL_04272014_2.nwb
Validating P22_1120_FBL_04272014_2.nwb against cached namespace information using namespace 'core'.
- no errors found.
However, the file fails validation with nwbinspector and also cannot be opened using PyNWB 3.0.
Two questions:
- Is this a bug or limitation in pynwb-validate?
- Now that the inspector handles more comprehensive validation, should we reduce the prominence of pynwb-validate to avoid confusion? According to the PyNWB validation documentation, it seems that nwbinspector covers everything pynwb-validate does and more. Is there still a reason to keep pynwb-validate visible in the documentation? Perhaps it would be better to only link to the inspector to prevent misunderstandings.
Metadata
Metadata
Assignees
Labels
category: bugerrors in the code or code behaviorerrors in the code or code behaviorcategory: questionquestions about code or code behaviorquestions about code or code behaviorpriority: mediumnon-critical problem and/or affecting only a small set of NWB usersnon-critical problem and/or affecting only a small set of NWB userstopic: HDMFissues related to the use, depending on, or affecting HDMFissues related to the use, depending on, or affecting HDMFtopic: docsissues related to documentationissues related to documentationtopic: validatorissues related to validation of filesissues related to validation of files