AllenNeuralDynamics / aind-metadata-viz

Website for public metadata visualization
MIT License
0 stars 0 forks source link

Consider file/field non-present if it is empty but exists #2

Closed Sun-flow closed 2 months ago

Sun-flow commented 2 months ago

Sometimes, assets will contain an empty data_description or other metadata file, in such a way that would cause the presence_checker to return true even though the asset really isn't present.

Add a check besides key present and value not null , such that metadata that are in format like [] or {} do not mark as present.