Skip to content

Commit

Permalink
FIX: Use positional arguments for CaseOnDisk (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
equinor-ruaj authored and mferrera committed Oct 29, 2024
1 parent 71d9bb3 commit 8f4fb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmu/dataio/scripts/create_case_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8f4fb27

Please sign in to comment.