cubids.entity_sets.parse_entity_set
- parse_entity_set(value)[source]
Validate an entity set copied from the summary and return it.
- Parameters:
value (
str) – A complete entity set, such asacquisition-VARIANTVar1_datatype-dwi_direction-AP_suffix-dwi.- Returns:
The entity set, with surrounding whitespace removed.
- Return type:
- Raises:
ValueError – If
valueis not a series of underscore-separated, alphanumericentity-labelpairs.