Skip to content

Commit fe3ada5

Browse files
committed
ENH: Tag some CIFTI-related nodes with off-hand estimates
1 parent 866fef6 commit fe3ada5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def init_bold_wf(
537537

538538
bold_grayords_wf = init_bold_grayords_wf(
539539
grayord_density=config.workflow.cifti_output,
540-
mem_gb=mem_gb["resampled"],
540+
mem_gb=1,
541541
repetition_time=all_metadata[0]["RepetitionTime"],
542542
)
543543

fmriprep/workflows/bold/resampling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,12 +661,14 @@ def init_bold_fsLR_resampling_wf(
661661
metric_dilate = pe.Node(
662662
MetricDilate(distance=10, nearest=True),
663663
name="metric_dilate",
664+
mem_gb=1,
664665
n_procs=omp_nthreads,
665666
)
666667
mask_native = pe.Node(MetricMask(), name="mask_native")
667668
resample_to_fsLR = pe.Node(
668669
MetricResample(method='ADAP_BARY_AREA', area_surfs=True),
669670
name="resample_to_fsLR",
671+
mem_gb=1,
670672
n_procs=omp_nthreads,
671673
)
672674
# ... line 89
@@ -812,6 +814,7 @@ def init_bold_grayords_wf(
812814
grayordinates=grayord_density,
813815
),
814816
name="gen_cifti",
817+
mem_gb=mem_gb,
815818
)
816819

817820
workflow.connect([

0 commit comments

Comments
 (0)