Skip to content

Commit 5611651

Browse files
committed
fixed bug in _set_state
1 parent c5da03b commit 5611651

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pydra/engine/node.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,16 @@ def _set_state(self) -> None:
181181
# Add node name to state's splitter, combiner and cont_dim loaded from the def
182182
splitter = deepcopy(
183183
self._definition._splitter
184-
) # these can be modified by the state
184+
) # these can be modified in state
185185
combiner = deepcopy(
186186
self._definition._combiner
187-
) # these can be modified by the state
187+
) # these can be modified in state
188+
cont_dim = {}
188189
if splitter:
189190
splitter = hlpst.add_name_splitter(splitter, self.name)
190191
if combiner:
191192
combiner = hlpst.add_name_combiner(combiner, self.name)
192193
if self._definition._cont_dim:
193-
cont_dim = {}
194194
for key, val in self._definition._cont_dim.items():
195195
cont_dim[f"{self.name}.{key}"] = val
196196
other_states = self._get_upstream_states()

0 commit comments

Comments
 (0)