Skip to content

Commit

Permalink
Issue nipy#3288. Implementing input delayed retry for all inputs of t…
Browse files Browse the repository at this point in the history
…he node. Simplified implementation for all inputs (not just File type). Need to be improved for File type later on.
  • Loading branch information
sulantha2006 committed Jan 7, 2021
1 parent 94c5c17 commit d6dd60c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nipype/pipeline/engine/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,9 @@ def _get_inputs(self):
# input_tries = 1 # Default no reties
# input_retry_delay = 5
# input_retry_exponential_backoff_factor = 1
input_tries = self.config["execution"]["input_tries"]
input_retry_delay = self.config["execution"]["input_retry_delay"]
input_retry_exp_backoff_factor = self.config["execution"]["input_retry_exp_backoff_factor"]
input_tries = int(self.config["execution"]["input_tries"])
input_retry_delay = int(self.config["execution"]["input_retry_delay"])
input_retry_exp_backoff_factor = int(self.config["execution"]["input_retry_exp_backoff_factor"])
for try_n in range(input_tries):
try:
self.set_input(key, deepcopy(output_value))
Expand Down

0 comments on commit d6dd60c

Please sign in to comment.