vivarium.artifact.entity_key
Entity Key
Provides the EntityKey class and is_entity_key() helper for
working with artifact entity keys formatted as "type.name.measure" or
"type.measure".
- vivarium.artifact.entity_key.is_entity_key(key)[source]
Check whether a string is a valid artifact entity key.
A valid entity key has the format
"type.name.measure"or"type.measure"- that is, 2 or 3 non-empty dot-separated elements with no leading, trailing, or consecutive dots.