Skip to content

Commit

Permalink
removed allow_pickle for reduction functions
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Sep 26, 2023
1 parent ebe5789 commit 0cf0b7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions daliuge-engine/dlg/apps/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,13 @@ def reduce_gather_inputs(self):
data = drop_loaders.load_numpy(input)
# skip gather for the first input
result = (
reduce(data, axis=self.reduce_axes, allow_pickle=True)
# reduce(data, axis=self.reduce_axes, allow_pickle=True)
reduce(data, axis=self.reduce_axes)
if result is None
else gather(
result,
reduce(data, axis=self.reduce_axes, allow_pickle=True),
allow_pickle=True,
# reduce(data, axis=self.reduce_axes, allow_pickle=True),
reduce(data, axis=self.reduce_axes),
)
)
return result
Expand Down

0 comments on commit 0cf0b7c

Please sign in to comment.