8000 hide outputs · nipype/pydra-tutorial@a743e2e · GitHub
[go: up one dir, main page]

Skip to content

Commit a743e2e

Browse files
committed
hide outputs
1 parent 4d856ad commit a743e2e

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

notebooks/6_firstlevel_glm_nilearn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ wf.set_output(
511511
## Run Workflow Run
512512

513513
```{code-cell} ipython3
514-
:tags: []
514+
:tags: [hide-output]
515515
516516
from pydra import Submitter
517517

notebooks/7_twolevel_glm_nilearn.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -799,11 +799,8 @@ wf.set_output(
799799
### Run Workflow Run
800800

801801
```{code-cell} ipython3
802-
---
803-
jupyter:
804-
outputs_hidden: true
805-
tags: []
806-
---
802+
:tags: [hide-output]
803+
807804
from pydra import Submitter
808805
809806
with Submitter(plugin='cf', n_procs=1) as submitter:
@@ -816,13 +813,15 @@ print(results)
816813

817814
## Let's Plot!
818815

819-
We only use 2 subjects, so it's reasonable the following plots have nothing survived from testing.
816+
We only use 5 subjects, so it's reasonable the following plots have nothing survived from testing.
820817

821818
+++
822819

823820
### Cluster Thresholding
824821

825822
```{code-cell} ipython3
823+
:tags: [hide-input]
824+
826825
from IPython.display import Image
827826
ct_list = glob.glob(os.path.join(workflow_out_dir, "secondlevel_cluster_thresholded*.jpg"))
828827
Image(filename=ct_list[0])
@@ -831,20 +830,26 @@ Image(filename=ct_list[0])
831830
### Multiple Comparison
832831

833832
```{code-cell} ipython3
833+
:tags: [hide-input]
834+
834835
mc_list = glob.glob(os.path.join(workflow_out_dir, "secondlevel_multiple_comp*.jpg"))
835836
Image(filename=mc_list[0])
836837
```
837838

838839
### Paramatric Test
839840

840841
```{code-cell} ipython3
842+
:tags: [hide-input]
843+
841844
pt_list = glob.glob(os.path.join(workflow_out_dir, "secondlevel_paramatric*.jpg"))
842845
Image(filename=pt_list[0])
843846
```
844847

845848
### Nonparamatric Test
846849

847850
```{code-cell} ipython3
851+
:tags: [hide-input]
852+
848853
npt_list = glob.glob(os.path.join(workflow_out_dir, "secondlevel_permutation*.jpg"))
849854
Image(filename=npt_list[0])
850855
```

0 commit comments

Comments
 (0)
0