From 980513b0263a1f746e345a1fdbb4a97ba4e8874d Mon Sep 17 00:00:00 2001 From: Runar Ask Johannessen <89020325+equinor-ruaj@users.noreply.github.com> Date: Wed, 25 Sep 2024 16:02:31 +0200 Subject: [PATCH] FIX: Use positional arguments for CaseOnDisk (#809) --- src/fmu/dataio/scripts/create_case_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmu/dataio/scripts/create_case_metadata.py b/src/fmu/dataio/scripts/create_case_metadata.py index 1a8fa0473..1f2244c2c 100644 --- a/src/fmu/dataio/scripts/create_case_metadata.py +++ b/src/fmu/dataio/scripts/create_case_metadata.py @@ -132,7 +132,7 @@ def register_on_sumo( sumo_conn = SumoConnection(sumo_env) logger.debug("Sumo connection established") - case = CaseOnDisk(case_metadata_path=case_metadata_path, sumo_connection=sumo_conn) + case = CaseOnDisk(case_metadata_path, sumo_conn) sumo_id = case.register() logger.info("Case registered on Sumo with ID: %s", sumo_id)