-
Notifications
You must be signed in to change notification settings - Fork 134
Open
linkml/linkml-map
#31Labels
Description
Mapping of slots with multiple enumerations as a range is not currently supported. At the moment, if multiple enumerations are present in the range, then no enumeration mapping occurs for the slot, since the range (which is a list in string form, eg. "['myenum1', 'myenum2']") is not recognized as an enum as returned by SchemaView.all_enums().
To fix this, we should first convert the string form of the range to a list (or a single string if it is not a list), and then iterate over all the elements of the list to try the permissible_value_derivations.
Support for multiple enumerations as a range is supported with branch multi-enum