diff --git a/metadata_mapper/mappers/oai/oai_mapper.py b/metadata_mapper/mappers/oai/oai_mapper.py index 8e9a1f04c..6297eaf1a 100644 --- a/metadata_mapper/mappers/oai/oai_mapper.py +++ b/metadata_mapper/mappers/oai/oai_mapper.py @@ -104,6 +104,7 @@ def map_language(self) -> list: return [value] + def map_type(self) -> list: """ Iterates the `type` values. If they are part of the controlled vocabulary @@ -130,13 +131,6 @@ def map_type(self) -> list: # type_list.append(mapped_type.lower()) # return type_list - def map_language(self) -> list: - value = self.source_metadata.get("language") - - if isinstance(value, list): - return value - - return [value] class OaiVernacular(Vernacular):