Skip to content

Commit 2656b65

Browse files
udpate vc default
1 parent 5759b70 commit 2656b65

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pyremo/preproc/preprocessor.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,12 +465,14 @@ def __init__(
465465
expid,
466466
surflib,
467467
domain=None,
468-
vc="vc_49lev",
468+
vc=None,
469469
outpath=None,
470470
scratch=None,
471471
input_data=None,
472472
**kwargs,
473473
):
474+
if vc is None:
475+
vc = ("vc_49lev",)
474476
super().__init__(
475477
expid, surflib, domain=domain, vc=vc, outpath=outpath, scratch=scratch
476478
)
@@ -526,11 +528,13 @@ def __init__(
526528
expid,
527529
surflib,
528530
domain=None,
529-
vc="vc_49lev_nh_pt2000",
531+
vc=None,
530532
outpath=None,
531533
scratch=None,
532534
input_data=None,
533535
):
536+
if vc is None:
537+
vc = "vc_49lev_nh_pt2000"
534538
super().__init__(
535539
expid, surflib, domain=domain, vc=vc, outpath=outpath, scratch=scratch
536540
)
@@ -622,11 +626,13 @@ def __init__(
622626
expid,
623627
surflib,
624628
domain=None,
625-
vc="vc_49lev",
629+
vc=None,
626630
outpath=None,
627631
scratch=None,
628632
input_data=None,
629633
):
634+
if vc is None:
635+
vc = "vc_49lev"
630636
super().__init__(
631637
expid, surflib, domain=domain, vc=vc, outpath=outpath, scratch=scratch
632638
)

0 commit comments

Comments
 (0)