From cf3c85bbda0bd3d4b17d63a12a32183438be901f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20Bj=C3=B8rke?= Date: Thu, 17 Oct 2024 13:21:32 +0200 Subject: [PATCH] elif seedpoint --- src/fmu/sumo/sim2sumo/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fmu/sumo/sim2sumo/common.py b/src/fmu/sumo/sim2sumo/common.py index 2ba8169..04cdd71 100644 --- a/src/fmu/sumo/sim2sumo/common.py +++ b/src/fmu/sumo/sim2sumo/common.py @@ -111,8 +111,9 @@ def find_datafiles(seedpoint=None): elif isinstance(seedpoint, list): # If seedpoint is a list, ensure all elements are strings or Path objects seedpoint = [Path(sp) for sp in seedpoint] - else: + elif seedpoint: seedpoint = [seedpoint] + if seedpoint: for sp in seedpoint: full_path = (