Skip to content

Commit

Permalink
Datatype can be a list
Browse files Browse the repository at this point in the history
  • Loading branch information
kjetilbjorke committed Oct 1, 2024
1 parent 30f39fe commit 7d073d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fmu/sumo/sim2sumo/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def create_config_dict(config, datafile=None, datatype=None):

if submods == "all":
submods = SUBMODULES
elif isinstance(datatype,list):
submods = datatype
else:
submods = [datatype]

Expand Down

0 comments on commit 7d073d4

Please sign in to comment.