Hdf5Ignored

Inheritance Diagram

Inheritance diagram of tenpy.tools.hdf5_io.Hdf5Ignored

Methods

Hdf5Ignored.__init__([name])

class tenpy.tools.hdf5_io.Hdf5Ignored(name='unknown')[source]

Bases: object

Placeholder for a dataset/group to be ignored during both loading and saving.

Objects of this type are not saved. Moreover, if a saved dataset/group has the type attribute matching REPR_IGNORED, instance of this class are returned instead of loading the data.

Parameters:

name (str) – The name of the dataset during loading; just for reference.

name

See above.

Type:

str