From cfc744793bf3cf6c4b960f494033a1320aaff6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20C=2E=20Riven=C3=A6s?= Date: Thu, 16 Jun 2022 15:30:54 +0200 Subject: [PATCH] Fix relpath abspath (#214) This change needed by the Sumo team --- src/fmu/dataio/dataio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fmu/dataio/dataio.py b/src/fmu/dataio/dataio.py index 5ef070a93..e6d3be8f0 100644 --- a/src/fmu/dataio/dataio.py +++ b/src/fmu/dataio/dataio.py @@ -1125,8 +1125,8 @@ def _generate_aggrd_metadata( template["tracklog"] = etempmeta["tracklog"] template["file"] = etempmeta["file"] # actually only use the checksum_md5 - template["file"]["relative_path"] = relpath - template["file"]["absolute_path"] = abspath + template["file"]["relative_path"] = str(relpath) + template["file"]["absolute_path"] = str(abspath) if abspath else None # data section if self.name: