sxs-collaboration / sxs

Python code for manipulating data from the SXS collaboration
MIT License
25 stars 18 forks source link

Improving automatic loading of metadata #14

Closed moble closed 1 month ago

moble commented 4 years ago

It's useful to have the metadata.json file loaded with an object, and really useful to have the <same_name>.json file loaded. But these may be cached in separate directories if one was updated but not the other in the latest zenodo version. The catalog logic that could solve this problem is currently handled in Catalog and the highest-level load function, so that sub-loaders only need to solve the simpler problem of just understanding the data format itself.

Maybe sxs.load should take the include_json argument, and pass the file path to the loaders where relevant.

moble commented 1 month ago

Closed by 9105e9d