Skip to content

Commit

Permalink
STY: Black
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Aug 4, 2023
1 parent f394b97 commit 082b640
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions sdcflows/workflows/apply/correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
from niworkflows.engine.workflows import LiterateWorkflow as Workflow


def init_unwarp_wf(*, ref_only=False, free_mem=None, omp_nthreads=1, debug=False, name="unwarp_wf"):
def init_unwarp_wf(
*, ref_only=False, free_mem=None, omp_nthreads=1, debug=False, name="unwarp_wf",
):
r"""
Set up a workflow that unwarps the input :abbr:`EPI (echo-planar imaging)` dataset.
Expand Down Expand Up @@ -95,7 +97,13 @@ def init_unwarp_wf(*, ref_only=False, free_mem=None, omp_nthreads=1, debug=False
workflow = Workflow(name=name)
inputnode = pe.Node(
niu.IdentityInterface(
fields=["distorted", "distorted_ref", "metadata", "fmap_coeff", "hmc_xforms"]
fields=[
"distorted",
"distorted_ref",
"metadata",
"fmap_coeff",
"hmc_xforms",
]
),
name="inputnode",
)
Expand Down Expand Up @@ -128,7 +136,9 @@ def init_unwarp_wf(*, ref_only=False, free_mem=None, omp_nthreads=1, debug=False
else:
num_threads = omp_nthreads

resample_ref = pe.Node(ApplyCoeffsField(), mem_gb=mem_per_thread, name="resample_ref")
resample_ref = pe.Node(
ApplyCoeffsField(), mem_gb=mem_per_thread, name="resample_ref"
)

brainextraction_wf = init_brainextraction_wf()

Expand Down

0 comments on commit 082b640

Please sign in to comment.