Skip to content

Commit

Permalink
fix: Do not set absolute_path to empty in FileOnJob init (#113)
Browse files Browse the repository at this point in the history
* Do not set absolute_path to empty in FileOnJob init

* Set absolute_path only if not already exists

* Do not set absolute_path in FileOnJob init
  • Loading branch information
equinor-ruaj authored Jan 10, 2025
1 parent 49eaa54 commit 6f9aaa6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/fmu/sumo/uploader/_fileonjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ def __init__(self, byte_string: str, metadata):
digester.digest()
).decode("utf-8")
self.metadata["file"]["checksum_md5"] = digester.hexdigest()

self.metadata["file"]["absolute_path"] = ""

0 comments on commit 6f9aaa6

Please sign in to comment.