diff --git a/src/sssom/parsers.py b/src/sssom/parsers.py index 7ddb1e27..e2be7e97 100644 --- a/src/sssom/parsers.py +++ b/src/sssom/parsers.py @@ -313,7 +313,7 @@ def _get_prefix_map_and_metadata( def _address_multivalued_slot(k: str, v: Any) -> Union[str, List[str]]: - if is_multivalued_slot(k) and v is not None and isinstance(v, str): + if isinstance(v, str) and is_multivalued_slot(k): # IF k is multivalued, then v = List[values] return [s.strip() for s in v.split("|")] else: