Skip to content

Commit d6dd60c

Browse files
committed
Issue #3288. Implementing input delayed retry for all inputs of the node. Simplified implementation for all inputs (not just File type). Need to be improved for File type later on.
1 parent 94c5c17 commit d6dd60c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: nipype/pipeline/engine/nodes.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,9 @@ def _get_inputs(self):
610610
# input_tries = 1 # Default no reties
611611
# input_retry_delay = 5
612612
# input_retry_exponential_backoff_factor = 1
613-
input_tries = self.config["execution"]["input_tries"]
614-
input_retry_delay = self.config["execution"]["input_retry_delay"]
615-
input_retry_exp_backoff_factor = self.config["execution"]["input_retry_exp_backoff_factor"]
613+
input_tries = int(self.config["execution"]["input_tries"])
614+
input_retry_delay = int(self.config["execution"]["input_retry_delay"])
615+
input_retry_exp_backoff_factor = int(self.config["execution"]["input_retry_exp_backoff_factor"])
616616
for try_n in range(input_tries):
617617
try:
618618
self.set_input(key, deepcopy(output_value))

0 commit comments

Comments
 (0)