8000 nproc=1 · nipype/pydra-tutorial@e4a9a54 · GitHub
[go: up one dir, main page]

Skip to content

Commit e4a9a54

Browse files
committed
nproc=1
1 parent 0b95914 commit e4a9a54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

notebooks/7_twolevel_glm_nilearn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jupytext:
55
extension: .md
66
format_name: myst
77
format_version: 0.13
8-
jupytext_version: 1.14.1
8+
jupytext_version: 1.13.8
99
kernelspec:
1010
display_name: Python 3 (ipykernel)
1111
language: python
@@ -240,7 +240,7 @@ def firstlevel_estimation(subj_id, run_id, subj_imgs, subj_masks, smoothing_fwhm
240240
# fit the (fixed-effects) firstlevel model with three runs simultaneously
241241
run_img = subj_imgs[run_id-1]
242242
img = load_img(run_img)
243-
img_data = get_data(run_img)[::2,::2,::2]
243+
img_data = get_data(run_img)[::3,::3,::3]
244244
new_img = nib.Nifti1Image(img_data, img.affine)
245245
run_mask = subj_masks[run_id-1]
246246
first_level_model = FirstLevelModel(mask_img=run_mask, smoothing_fwhm=smoothing_fwhm)
@@ -800,7 +800,7 @@ wf.set_output(
800800
801801
from pydra import Submitter
802802
803-
with Submitter(plugin='cf', n_procs=2) as submitter:
803+
with Submitter(plugin='cf', n_procs=1) as submitter:
804804
submitter(wf)
805805
806806
results = wf.result()

0 commit comments

Comments
 (0)
0