Skip to content

Commit

Permalink
ENH: Tag some CIFTI-related nodes with off-hand estimates
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 21, 2023
1 parent 866fef6 commit fe3ada5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fmriprep/workflows/bold/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def init_bold_wf(

bold_grayords_wf = init_bold_grayords_wf(
grayord_density=config.workflow.cifti_output,
mem_gb=mem_gb["resampled"],
mem_gb=1,
repetition_time=all_metadata[0]["RepetitionTime"],
)

Expand Down
3 changes: 3 additions & 0 deletions fmriprep/workflows/bold/resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,12 +661,14 @@ def init_bold_fsLR_resampling_wf(
metric_dilate = pe.Node(
MetricDilate(distance=10, nearest=True),
name="metric_dilate",
mem_gb=1,
n_procs=omp_nthreads,
)
mask_native = pe.Node(MetricMask(), name="mask_native")
resample_to_fsLR = pe.Node(
MetricResample(method='ADAP_BARY_AREA', area_surfs=True),
name="resample_to_fsLR",
mem_gb=1,
n_procs=omp_nthreads,
)
# ... line 89
Expand Down Expand Up @@ -812,6 +814,7 @@ def init_bold_grayords_wf(
grayordinates=grayord_density,
),
name="gen_cifti",
mem_gb=mem_gb,
)

workflow.connect([
Expand Down

0 comments on commit fe3ada5

Please sign in to comment.