Skip to content

FIX: #3288. Added a simple retry for inputs for a node. #3289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Issue #3288. Implementing input delayed retry for all inputs of the n…
…ode. 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
commit d6dd60c6fdb708000842f94a4980f29b69fa776e
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