cubids.entity_sets.load_entity_set_removals

load_entity_set_removals(remove_rename_entity_set)[source]

Load exact entity sets to delete from CLI strings or table files.

Parameters:

remove_rename_entity_set (list of str or None) – Each item is either an entity set or a path to a CSV or TSV file with an entity_set column. The two forms can be mixed.

Returns:

The entity sets whose matching groups should be deleted.

Return type:

set of str

Raises:

ValueError – If a value is malformed, or a table file is missing or lacks its required column.