8000 modify wf actions `.yml` by yibeichan · Pull Request #35 · nipype/pydra-tutorial · GitHub
[go: up one dir, main page]

Skip to content

modify wf actions .yml #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 27 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix minor errors
  • Loading branch information
yibeichan committed Sep 1, 2022
commit 3c142c12b700a4c33be357fa0f6cdbc6380e795c
6 changes: 3 additions & 3 deletions notebooks/7_twolevel_glm_nilearn.md
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ Now, let's connect all tasks and workflows together.

Here we randomly choose **5** subjects to perform the analysis.

For computational time, we set `n_perm=1`.
For computational time, we set `n_perm=100`.

```{code-cell} ipython3
wf = Workflow(
Expand All @@ -640,7 +640,7 @@ wf = Workflow(
wf.inputs.n_subj = 5

# randomly choose subjects
wf_firstlevel.inputs.subj_id = random.sample(range(16), wf.inputs.n_subj)
wf_firstlevel.inputs.subj_id = random.sample(range(1,17), wf.inputs.n_subj)
wf_firstlevel.inputs.tr = 2.3
wf_firstlevel.inputs.n_scans = 300
wf_firstlevel.inputs.hrf_model = 'glover'
Expand Down Expand Up @@ -691,7 +691,7 @@ wf.add(
smoothing_fwhm = 5.0,
design_matrix = wf.wf_secondlevel.lzout.second_level_designmatrix,
firstlevel_contrast = wf.wf_firstlevel.lzout.first_level_contrast,
n_perm = 10,
n_perm = 100,
)
)

Expand Down
0