Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pydra/engine/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,10 +1193,9 @@
)
val_ind = range(reduce(lambda x, y: x * y, shape))
if op_single in self.inner_inputs:
if len(shape) == 1:
breakpoint()
# TODO: have to be changed if differ length
inner_len = [shape[-1]] * reduce(lambda x, y: x * y, shape[:-1])
inner_len = [shape[-1]] * reduce(lambda x, y: x * y, shape[:-1], 1)

Check warning on line 1197 in pydra/engine/state.py

View check run for this annotation

Codecov / codecov/patch

pydra/engine/state.py#L1197

Added line #L1197 was not covered by tests

# this come from the previous node
outer_ind = self.inner_inputs[op_single].ind_l
op_out = itertools.chain.from_iterable(
Expand Down
Loading