Skip to content

Commit f5ec305

Browse files
committed
🔀 Merge remote-tracking branch 'origin/develop' into slurm/run-correlations
[run reg-suite lite]
2 parents 2f703fa + 61ad414 commit f5ec305

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CPAC/pipeline/engine.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,9 @@ def gather_pipes(self, wf, cfg, all=False, add_incl=None, add_excl=None):
13571357
wf.connect(id_string, "out_filename", nii_name, "format_string")
13581358

13591359
node, out = self.rpool[resource][pipe_idx]["data"]
1360+
if not node:
1361+
msg = f"Resource {resource} not found in resource pool."
1362+
raise FileNotFoundError(msg)
13601363
try:
13611364
wf.connect(node, out, nii_name, "in_file")
13621365
except OSError as os_error:

0 commit comments

Comments
 (0)