Skip to content

Commit

Permalink
FIX: Replace freesurfer with recon_method
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Dec 20, 2023
1 parent 94e72d8 commit 5359e64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nibabies/workflows/anatomical/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,12 @@ def init_infant_anat_wf(

# Define output workflows
anat_reports_wf = init_anat_reports_wf(
surface_recon=freesurfer, output_dir=output_dir, sloppy=sloppy
surface_recon=recon_method, output_dir=output_dir, sloppy=sloppy
)

anat_derivatives_wf = init_anat_derivatives_wf(
bids_root=bids_root,
surface_recon=freesurfer,
surface_recon=recon_method,
num_t1w=num_t1w,
num_t2w=num_t2w,
output_dir=output_dir,
Expand Down Expand Up @@ -427,7 +427,7 @@ def init_infant_anat_wf(
])
# fmt:on

if not freesurfer:
if not recon_method:

Check warning on line 430 in nibabies/workflows/anatomical/base.py

View check run for this annotation

Codecov / codecov/patch

nibabies/workflows/anatomical/base.py#L430

Added line #L430 was not covered by tests
return wf

if recon_method == 'freesurfer':
Expand Down

0 comments on commit 5359e64

Please sign in to comment.