Skip to content

Commit 4c20518

Browse files
authored
update sembench.yaml + resolve syntax errors in water_sampling template
1 parent 033ddf2 commit 4c20518

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

sembench.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sediment_measured_task:
2-
func: pysubyt
2+
func: subyt
33
args:
44
template_folder: !resolve "{home}/templates"
55
template_name: "sediment_measured.ldt.ttl.j2"
@@ -13,7 +13,7 @@ sediment_measured_task:
1313
allow_repeated_sink_paths: true
1414

1515
sediment_observatory_task:
16-
func: pysubyt
16+
func: subyt
1717
args:
1818
template_folder: !resolve "{home}/templates"
1919
template_name: "sediment_observatory.ldt.ttl.j2"
@@ -24,7 +24,7 @@ sediment_observatory_task:
2424
allow_repeated_sink_paths: true
2525

2626
sediment_sampling_task:
27-
func: pysubyt
27+
func: subyt
2828
args:
2929
template_folder: !resolve "{home}/templates"
3030
template_name: "sediment_sampling.ldt.ttl.j2"
@@ -37,7 +37,7 @@ sediment_sampling_task:
3737
allow_repeated_sink_paths: true
3838

3939
water_measured_task:
40-
func: pysubyt
40+
func: subyt
4141
args:
4242
template_folder: !resolve "{home}/templates"
4343
template_name: "water_measured.ldt.ttl.j2"
@@ -51,7 +51,7 @@ water_measured_task:
5151
allow_repeated_sink_paths: true
5252

5353
water_observatory_task:
54-
func: pysubyt
54+
func: subyt
5555
args:
5656
template_folder: !resolve "{home}/templates"
5757
template_name: "water_observatory.ldt.ttl.j2"
@@ -62,7 +62,7 @@ water_observatory_task:
6262
allow_repeated_sink_paths: true
6363

6464
water_sampling_task:
65-
func: pysubyt
65+
func: subyt
6666
args:
6767
template_folder: !resolve "{home}/templates"
6868
template_name: "water_sampling.ldt.ttl.j2"

templates/water_sampling.ldt.ttl.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ Sets:
115115
{%- if _.long_store == "N" %}
116116
emobon:longStorage 'false'^^xsd:boolean ;
117117
{%- endif %}
118-
{%- if _.failure and_.failure == "T" %} {#double check whether this is used abbrev#}
118+
{%- if _.failure and _.failure == "T" %} {#double check whether this is used abbrev#}
119119
emobon:failure 'true'^^xsd:boolean ;
120120
{%- if _.failure_comment != "NA" %}
121121
emobon:failureComment {{ _.failure_comment | xsd("string") | safe }} ;
122122
{%- endif %}
123123
{%- endif %}
124-
{%- if _.failure == 'F' or _.failure = "NA" or not _.failure %}
124+
{%- if _.failure == 'F' or _.failure == "NA" or not _.failure %}
125125
emobon:failure 'false'^^xsd:boolean ;
126126
{%- endif %}
127127
{%- if _.depth != "NA" %}

0 commit comments

Comments
 (0)