diff --git a/geomagio/algorithm/MetadataAlgorithm.py b/geomagio/algorithm/MetadataAlgorithm.py index 5fc87c68e0ac2805bcdef345cdde0cf4e5525ba7..027e753d02fbc83b578443872a8c44fbfb474a0f 100644 --- a/geomagio/algorithm/MetadataAlgorithm.py +++ b/geomagio/algorithm/MetadataAlgorithm.py @@ -72,7 +72,7 @@ class MetadataAlgorithm(BaseModel): created_by=created_by, starttime=starttime, endtime=endtime, - metadata=metadata_class(**metadata_dict), + metadata=(metadata_class(**metadata_dict)).model_dump(), network=network, channel=channel, location=location,