-
Notifications
You must be signed in to change notification settings - Fork 10
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: Relax timestamp timezone validation for startDate and endDate fields on NWB file formats #242
Conversation
…fields on NWB file formats
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #242 +/- ##
==========================================
+ Coverage 87.42% 91.59% +4.17%
==========================================
Files 16 16
Lines 1726 1726
==========================================
+ Hits 1509 1581 +72
+ Misses 217 145 -72
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@aaronkanzer - i'm not sure this is necessary. i believe pydantic default validator for datetime works fine. at least on the example ben sent. |
Hmmm, agreed -- accordingly to the docs it should work fine (e.g. pydantic handling different formats of Perhaps a different root cause....looking further... |
Yes, this is what has been confusing us. We don't see any logic in the dandi schema that would seem to require timezones for this field |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Closed for now -- as it doesn't seem that this is the root cause error of validation for certain |
Relates to dandi/dandi-archive#1944
and changes made for NWB in NeurodataWithoutBorders/pynwb#1886
Observed in failed dandiset validation in staging environment here: https://gui-staging.dandiarchive.org/dandiset/213840
Cc @candleindark @yarikoptic @satra @bendichter