mobie / mobie-utils-python

Python tools for MoBIE
MIT License
9 stars 5 forks source link

`source_metadata` trouble #100

Closed martinschorb closed 1 year ago

martinschorb commented 1 year ago

Hi,

I have converted a project into the current spec. However, my source metadata seems to have some issues:

I tried running get_shape and ran into a KeyError: 'storage' It seems that it does not adhere to the current spec.

martinschorb commented 1 year ago

Here's the culprit:

https://github.com/mobie/mobie-utils-python/blob/377a72dad9a9af7e9329135516436b02ec037beb/mobie/metadata/source_metadata.py#L67