cubids.entity_sets.load_entity_set_changes
- load_entity_set_changes(change_rename_entity_set)[source]
Load exact entity set substitutions from CLI strings or mapping tables.
- Parameters:
change_rename_entity_set (
listofstror None) – Each item is eitherOLD_ENTITY_SET=NEW_ENTITY_SETor a path to a CSV or TSV file withold_entity_setandnew_entity_setcolumns. The two forms can be mixed.- Returns:
Maps each old entity set to its replacement.
- Return type:
- Raises:
ValueError – If a value is malformed, a mapping file is missing or lacks the required columns, or two substitutions conflict.