Skip to content

Commit 2db070b

Browse files
committed
Include wrapper in core representation
1 parent 181f2f5 commit 2db070b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/sirocco/parsing/yaml_data_models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ class ConfigIconTaskSpecs:
487487
bin: Path = field(repr=True)
488488
wrapper_script: Path | None = field(
489489
default=None,
490-
repr=False,
491490
metadata={"description": "Path to wrapper script file relative to the config directory or absolute."},
492491
)
493492

tests/cases/small-icon/data/config.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ cycles:
2323
cycle point: [2026-01-01 00:00:00 -- 2026-03-01 00:00:00]
2424
plugin: 'icon'
2525
bin: /TESTS_ROOTDIR/tests/cases/small-icon/config/ICON/bin/icon
26+
wrapper script: /Users/alexgo/code/Sirocco/tests/cases/small-icon/config/scripts/dummy_wrapper.sh
2627
namelists: [NamelistFile(name='icon_master.namelist'), NamelistFile(name='model.namelist')]
2728
- bimonthly_tasks [date: 2026-03-01 00:00:00]:
2829
tasks:
@@ -49,6 +50,7 @@ cycles:
4950
cycle point: [2026-03-01 00:00:00 -- 2026-05-01 00:00:00]
5051
plugin: 'icon'
5152
bin: /TESTS_ROOTDIR/tests/cases/small-icon/config/ICON/bin/icon
53+
wrapper script: /Users/alexgo/code/Sirocco/tests/cases/small-icon/config/scripts/dummy_wrapper.sh
5254
namelists: [NamelistFile(name='icon_master.namelist'), NamelistFile(name='model.namelist')]
5355
- bimonthly_tasks [date: 2026-05-01 00:00:00]:
5456
tasks:
@@ -75,6 +77,7 @@ cycles:
7577
cycle point: [2026-05-01 00:00:00 -- 2026-06-01 00:00:00]
7678
plugin: 'icon'
7779
bin: /TESTS_ROOTDIR/tests/cases/small-icon/config/ICON/bin/icon
80+
wrapper script: /Users/alexgo/code/Sirocco/tests/cases/small-icon/config/scripts/dummy_wrapper.sh
7881
namelists: [NamelistFile(name='icon_master.namelist'), NamelistFile(name='model.namelist')]
7982
- lastly:
8083
tasks:

0 commit comments

Comments
 (0)