Skip to content

Commit

Permalink
Merge pull request #624 from nipreps/fix/bold-ref-wf
Browse files Browse the repository at this point in the history
FIX: Readd sbref_file input to reference volume interface
  • Loading branch information
mgxd authored Apr 9, 2021
2 parents fa56d30 + 3ce4b43 commit 8433c47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion niworkflows/func/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def init_bold_reference_wf(
workflow.connect([
(inputnode, val_sbref, [(("sbref_file", listify), "in_file")]),
(val_sbref, merge_sbrefs, [("out_file", "in_files")]),
(merge_sbrefs, gen_avg, [("out_file", "sbref_file")]),
(merge_sbrefs, gen_avg, [("out_file", "in_file")]),
])
# fmt: on

Expand Down
4 changes: 3 additions & 1 deletion niworkflows/interfaces/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ def _run_interface(self, runtime):

class _RobustAverageInputSpec(BaseInterfaceInputSpec):
in_file = File(
exists=True, mandatory=True, desc="A 4D file to average through the last axis"
exists=True,
mandatory=True,
desc="Either a 3D reference or 4D file to average through the last axis"
)
t_mask = traits.List(traits.Bool, desc="List of selected timepoints to be averaged")
mc_method = traits.Enum(
Expand Down

0 comments on commit 8433c47

Please sign in to comment.