readMetatext

readMetatext(path, object_id)

Read the metatext string from a particular object in a file.

Parameters:
  • path (str) – The path of the file from which the metatext should be read. Only HDF5 is supported.
  • object_id (str) – The object_id to read the metatext from.
Returns:

The metatext string if it exists, otherwise None.

Return type:

str | None