Skip to content

Commit 62c5b10

Browse files
committed
🐛 Import IFLOGGER in Function Node
1 parent 66f6aca commit 62c5b10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CPAC/pipeline/engine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,9 @@ def gather_pipes(self, wf, cfg, all=False, add_incl=None, add_excl=None):
12571257
output_names=["output_bold"],
12581258
function=validate_outputs,
12591259
imports=[
1260-
"from CPAC.pipeline.utils import find_pixdim4, update_pixdim4"
1260+
"from CPAC.pipeline.utils import find_pixdim4, IFLOGGER, update_pixdim4"
12611261
],
1262+
as_module=True,
12621263
),
12631264
name=f"validate_bold_header_{resource_idx}_{pipe_x}",
12641265
)

0 commit comments

Comments
 (0)