organoid_tracker.plugin.registry module

class organoid_tracker.plugin.registry.Registry

Bases: object

A plugin-controlled registry for various plugin-provided things, like cell types.

For example, to add something to the marker list, plugins can define a get_markers() method. See the plugin documentation for more information

clear_all()

Clears the registry.

get_marker_by_save_name(save_name: Optional[str]) Optional[Marker]

Gets the marker using the given save name. Returns None if no marker exists for that save name.

get_registered_markers(type: Type) Iterable[Marker]

Gets all registered markers for the given type. For example, you can ask all registered cell types using get_registered_markers(Position).