FrancisCrickInstitute / AIoD-Model-Registry

The core registry for all AI models available on AI on Demand
0 stars 0 forks source link

Add Manifest Load Utilities #5

Closed sea-shunned closed 9 months ago

sea-shunned commented 9 months ago

Added simple functions to load the manifests, simplifying broader use and integration with e.g. Napari.

Also added a MANIFEST.in to ensure the JSONs are included when this is pip installed.

sea-shunned commented 9 months ago

Note that adding the option to filter manifests depending on path accessibility is verbose, but potentially necessary due to in-place modification and iteration.

If a refactor is obvious please feel free to add.