Skip to content

Commit 5e2ebae

Browse files
committed
correct is to ==
1 parent 6be623c commit 5e2ebae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules/pht.smk

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ for key, dataset in part.datasets.items():
163163
),
164164
params:
165165
datatype="cal",
166-
channel="{channel}" if key is "default" else key,
166+
channel="{channel}" if key == "default" else key,
167167
timestamp=part.get_timestamp(
168168
f"{par_pht_path(setup)}/validity.jsonl", partition, key, tier="pht"
169169
),
@@ -333,7 +333,7 @@ for key, dataset in part.datasets.items():
333333
),
334334
params:
335335
datatype="cal",
336-
channel="{channel}" if key is "default" else key,
336+
channel="{channel}" if key == "default" else key,
337337
timestamp=part.get_timestamp(
338338
f"{par_pht_path(setup)}/validity.jsonl", partition, key, tier="pht"
339339
),
@@ -503,7 +503,7 @@ for key, dataset in part.datasets.items():
503503
),
504504
params:
505505
datatype="cal",
506-
channel="{channel}" if key is "default" else key,
506+
channel="{channel}" if key == "default" else key,
507507
timestamp=part.get_timestamp(
508508
f"{par_pht_path(setup)}/validity.jsonl", partition, key, tier="pht"
509509
),

0 commit comments

Comments
 (0)