Skip to content

Commit 9e73bd8

Browse files
authored
ENH: Drop n_procs tag from BSplineApprox (#315)
1 parent 404fe3e commit 9e73bd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdcflows/workflows/fit/fieldmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def init_fmap_wf(omp_nthreads=1, sloppy=False, debug=False, mode="phasediff", na
9999
)
100100

101101
magnitude_wf = init_magnitude_wf(omp_nthreads=omp_nthreads)
102-
bs_filter = pe.Node(BSplineApprox(), n_procs=omp_nthreads, name="bs_filter")
102+
bs_filter = pe.Node(BSplineApprox(), name="bs_filter")
103103
bs_filter.interface._always_run = debug
104104
bs_filter.inputs.bs_spacing = (
105105
[DEFAULT_LF_ZOOMS_MM, DEFAULT_HF_ZOOMS_MM] if not sloppy else [DEFAULT_ZOOMS_MM]

sdcflows/workflows/fit/syn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def init_syn_sdc_wf(
267267
)
268268

269269
# Regularize with B-Splines
270-
bs_filter = pe.Node(BSplineApprox(), n_procs=omp_nthreads, name="bs_filter")
270+
bs_filter = pe.Node(BSplineApprox(), name="bs_filter")
271271
bs_filter.interface._always_run = debug
272272
bs_filter.inputs.bs_spacing = (
273273
[DEFAULT_LF_ZOOMS_MM, DEFAULT_HF_ZOOMS_MM] if not sloppy else [DEFAULT_ZOOMS_MM]

0 commit comments

Comments
 (0)