Skip to content

Commit bacbf60

Browse files
effigiesoesteban
authored andcommitted
FIX: "ref" -> "mask"
1 parent 90a8c30 commit bacbf60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/generate_reference_mask.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from fmriprep.workflows.bold.util import init_bold_reference_wf
66

77

8-
def sink_ref_file(in_file, orig_file, out_dir):
8+
def sink_mask_file(in_file, orig_file, out_dir):
99
import os
1010
from nipype.utils.filemanip import fname_presuffix, copyfile
1111
os.makedirs(out_dir, exist_ok=True)
12-
out_file = fname_presuffix(orig_file, suffix='_ref', newpath=out_dir)
12+
out_file = fname_presuffix(orig_file, suffix='_mask', newpath=out_dir)
1313
copyfile(in_file, out_file, copy=True, use_hardlink=True)
1414
return out_file
1515

@@ -21,7 +21,7 @@ def init_main_wf(bold_file, out_dir, base_dir=None, name='main_wf'):
2121
wf.base_dir = base_dir
2222
wf.inputs.inputnode.bold_file = bold_file
2323

24-
sink = pe.Node(niu.Function(function=sink_ref_file),
24+
sink = pe.Node(niu.Function(function=sink_mask_file),
2525
name='sink')
2626
sink.inputs.out_dir = out_dir
2727
sink.inputs.orig_file = bold_file

0 commit comments

Comments
 (0)