h5.formats.register_backward_compatibility_method
- h5.formats.register_backward_compatibility_method(regex, clsname, fun=<function <lambda>>)[source]
Register a backward-compatibility method for reading old data.
- Parameters:
- regexstr
The regular expression to match the HDF5 format tag.
- clsnamestr
The class name that it corresponds to.
- funcallable
A lambda taking an HDF5 format tag and returning a dict that maps field names to HDF5 format tags.