Skip to content

Commit

Permalink
FIX: specify echo reference for ME
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Esteban <code@oscaresteban.es>
  • Loading branch information
eilidhmacnicol and oesteban committed Oct 29, 2021
1 parent 1441abe commit 24493a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fprodents/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,9 @@ def init_single_subject_wf(subject_id):
auto_bold_nss=True,
omp_nthreads=config.nipype.omp_nthreads
)
bold_ref_wf.inputs.inputnode.in_files = bold_file
bold_ref_wf.inputs.inputnode.in_files = (
bold_file if not multiecho else bold_file[0]
)

# brain extraction on reference file
brain_extraction_wf = init_rodent_brain_extraction_wf(ants_affine_init=False)
Expand Down

0 comments on commit 24493a8

Please sign in to comment.