dandi / dandi-cli

DANDI command line client to facilitate common operations
https://dandi.readthedocs.io/
Apache License 2.0
21 stars 25 forks source link

schema conversion errors #670

Open satra opened 3 years ago

satra commented 3 years ago

@yarikoptic - here is the summary of errors (several are age errors and one species error). what do you think we should do? get those datasets fixed?

@djarecka - we need to figure out a way to represent an age range.

2021-06-13T18:50:11-0400 [DEBUG ] dandi 30852:140422848427776 Problem obtaining metadata for /mnt/backup/dan di/dandisets/000004/sub-P57CS/sub-P57CS_ses-20180601_obj-9ad1o5_ecephys+image.nwb: not able to parse the age: 46, no rules to convert: 46

2021-06-13T18:50:43-0400 [DEBUG ] dandi 30852:140423095138048 Problem obtaining metadata for /mnt/backup/dandi/dandisets/000012/sub-1/sub-1_ses-18516006_tis-1-1_icephys.nwb: not able to parse the age: Gestational Week 19, no rules to convert: Gestational Week 19

2021-06-13T18:52:57-0400 [DEBUG ] dandi 30852:140423111923456 Problem obtaining metadata for /mnt/backup/dandi/dandisets/000039/sub-671540231/sub-671540231_ses-692713539_behavior+ophys.nwb: not able to parse the age: 125, no rules to convert: 125

2021-06-13T18:53:00-0400 [DEBUG ] dandi 30852:140422848427776 Problem obtaining metadata for /mnt/backup/dandi/dandisets/000041/sub-Splinter/sub-Splinter_ses-Splinter-020515_ecephys.nwb: not able to parse the age: 3-7 months, no rules to convert: 3-7 months

2021-06-13T18:57:10-0400 [DEBUG ] dandi 30852:140422881998592 Problem obtaining metadata for /mnt/backup/dandi/dandisets/000065/sub-Kibbles/sub-Kibbles_behavior+ecephys.nwb: Cannot interpret species field: rat

2021-06-13T18:57:10-0400 [DEBUG ] dandi 30852:140422856820480 Problem obtaining metadata for /mnt/backup/dandi/dandisets/000067/sub-EE/sub-EE_ses-EE-046_ecephys.nwb: not able to parse the age: 3-5 months, no rules to convert: 3-5 months

djarecka commented 3 years ago

@satra - are we ready to add a new field? If not we would have to add an option of passing two values instead of one