LayerManager (class)¶
The LayerManager manages the layers
attribute on a LoomConnection
and provides a
dict-like interface. Examples:
with loompy.connect("mydataset.loom") as ds:
print(ds.layers.keys())
print(f"There are {len(ds.layers)} layers")
for name, layer in ds.layers.items():
print(name, layer.shape, layer.dtype)
-
class
loompy.
LayerManager
(ds: Any)[source]¶ Manage a set of layers with a backing HDF5 file store