dandi / dandi-archive

DANDI API server and Web app
https://dandiarchive.org
13 stars 10 forks source link

assetMetadata not up-to-date or 000020 #1970

Open bendichter opened 2 weeks ago

bendichter commented 2 weeks ago

https://dandiarchive.org/dandiset/000020/draft only has the following variables measured: "ProcessingModule"

It should include "VoltageClampSeries" and "CurrentClampSeries" as these appears in many of the sessions in this dandiset.

This problem goes down to the asset level, where this property fails to be pulled as well: https://api.dandiarchive.org/api/dandisets/000020/versions/draft/assets/e8714c4c-bbd0-4a61-8bc3-3987755e18c3/

See this view from neurosift to confirm that these types are in this file.

Since this is an older Dandiset, I would guess this discrepancy is due to an earlier version of the metadata parser that did not include these types. Is there yet a way of re-running this with the latest version for an old dataset?

bendichter commented 2 weeks ago

I am having the same issue with 209, so now I am not so sure it is due to when the Dandiset was submitted

bendichter commented 2 weeks ago

@yarikoptic could this be a dandi cli issue?

yarikoptic commented 2 weeks ago

It might be, iirc we extract/upload that metadata upon upload, but requires checking... Feels like it needs to be moved to archive since otherwise we would guarantee to have older extracts for older dandisets