Slim Manager

Documentation

class pandasaurus.slim_manager.SlimManager[source]

SlimManager responsible for slim operations such as finding available slim in given ontologies and showing slim content.

static get_slim_list(ontology: str) List[Dict[str, str]][source]

Returns name and definition of available slims in given ontology.

Parameters:

ontology – Ontology name

Returns:

Slim names and definitions list

static get_slim_members(slim_list: List[str]) List[str][source]

Lists names and IDs of all terms in slim.

Parameters:

slim_list – A list of slim names

Returns:

Term IRIs of the slim members