Improve dingo_ls so that it prints additional information depending on the type of dataset contained in an HDF5 file, i.e., not just the settings dict. For example, for a Result it could print a summary of the evidence, as well as importance sampling settings (if present).
This would require loading the dataset as the correct subtype of DingoDataset. To determine this, we could embed an additional attribute in the HDF5 files, which specifies the object type that it should be loaded with. With this we could also define a universal load function to return an object of the correct type.
Improve
dingo_ls
so that it prints additional information depending on the type of dataset contained in an HDF5 file, i.e., not just thesettings
dict. For example, for aResult
it could print a summary of the evidence, as well as importance sampling settings (if present).This would require loading the dataset as the correct subtype of
DingoDataset
. To determine this, we could embed an additional attribute in the HDF5 files, which specifies the object type that it should be loaded with. With this we could also define a universal load function to return an object of the correct type.