Skip to content

Commit

Permalink
Patch/0.38.1 (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Esadruhn committed Sep 30, 2022
1 parent c745b62 commit fe41258
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion substra/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.38.0"
__version__ = "0.38.1"
9 changes: 8 additions & 1 deletion substra/sdk/backends/remote/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,14 @@ def _add_tuples_from_computeplan(self, spec, spec_options, auto_batching, batch_
batches = [tuples]

for batch in batches:
self._add_tuples(batch, spec_options)
try:
self._add_tuples(batch, spec_options)
except exceptions.AlreadyExists:
logger.warning(
"Skipping already submitted tasks, probably because of a timeout error. "
"Check that the compute plan has the right number of tasks once the submission is complete."
)
continue

def _add_tuples(self, batch, spec_options):
batch_data = []
Expand Down

0 comments on commit fe41258

Please sign in to comment.