diff --git a/eodal/mapper/mapper.py b/eodal/mapper/mapper.py index 362e072..7624596 100644 --- a/eodal/mapper/mapper.py +++ b/eodal/mapper/mapper.py @@ -222,6 +222,7 @@ def from_yaml(cls, fpath: str | Path): # overwrite data_source attribute with content from # file in case it is available configs.data_source = yaml_content.get('data_source', 'UNKNOWN') + return configs except KeyError as e: raise ValueError(f"Missing keys in yaml file: {e}")