1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
LayerManager (class)
====================
The LayerManager manages the ``layers`` attribute on a :class:`.LoomConnection` and provides a
dict-like interface. Examples:
.. highlight:: python
.. code-block:: python
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)
.. autoclass:: loompy.LayerManager
:special-members: __init__
:members:
:undoc-members:
|