Skip to content

Commit 88e5cf5

Browse files
committed
changing tree command
1 parent 67acaae commit 88e5cf5

File tree

1 file changed

+38
-15
lines changed

1 file changed

+38
-15
lines changed

notebooks/introduction_dataset.ipynb

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
"\n",
5656
"The dataset for this tutorial is coming from [https://openfmri.org/](https://openfmri.org/), a homepage dedicated to the free and open sharing of raw magnetic resonance imaging (MRI) datasets. We already downloaded the dataset [ds000114](https://github.com/datalad/ds000114) into the data folder at the current location. To reduce the size of the total dataset, only the first two subjects (`sub-01` and `sub-02`) were kept.\n",
5757
"\n",
58-
"So let's have a look at the tutorial dataset for `sub-01`."
58+
"So let's have a look at the tutorial dataset."
5959
]
6060
},
6161
{
6262
"cell_type": "code",
63-
"execution_count": null,
63+
"execution_count": 4,
6464
"metadata": {
6565
"collapsed": false,
6666
"deletable": true,
@@ -71,22 +71,43 @@
7171
"name": "stdout",
7272
"output_type": "stream",
7373
"text": [
74-
"/data/ds000114/sub-01/\r\n",
75-
"├── anat\r\n",
76-
"│   └── sub-01_T1w.nii.gz -> ../../.git/annex/objects/QP/jm/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz\r\n",
77-
"├── dwi\r\n",
78-
"│   └── sub-01_dwi.nii.gz -> ../../.git/annex/objects/X2/kJ/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz\r\n",
79-
"└── func\r\n",
80-
" ├── sub-01_task-fingerfootlips_bold.nii.gz -> ../../.git/annex/objects/k6/4f/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz\r\n",
81-
" ├── sub-01_task-linebisection_bold.nii.gz -> ../../.git/annex/objects/32/Qq/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz\r\n",
82-
" └── sub-01_task-linebisection_events.tsv\r\n",
74+
"/data/ds000114/\r\n",
75+
"├── dataset_description.json\r\n",
76+
"├── derivatives\r\n",
77+
"│   └── freesurfer\r\n",
78+
"│   ├── sub-01\r\n",
79+
"│   ├── sub-02\r\n",
80+
"│   └── Untitled1.ipynb\r\n",
81+
"├── dwi.bval\r\n",
82+
"├── dwi.bvec\r\n",
83+
"├── sub-01\r\n",
84+
"│   ├── anat\r\n",
85+
"│   │   └── sub-01_T1w.nii.gz -> ../../.git/annex/objects/QP/jm/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz\r\n",
86+
"│   ├── dwi\r\n",
87+
"│   │   └── sub-01_dwi.nii.gz -> ../../.git/annex/objects/X2/kJ/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz\r\n",
88+
"│   └── func\r\n",
89+
"│   ├── sub-01_task-fingerfootlips_bold.nii.gz -> ../../.git/annex/objects/k6/4f/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz\r\n",
90+
"│   ├── sub-01_task-linebisection_bold.nii.gz -> ../../.git/annex/objects/32/Qq/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz\r\n",
91+
"│   └── sub-01_task-linebisection_events.tsv\r\n",
92+
"├── sub-02\r\n",
93+
"│   ├── anat\r\n",
94+
"│   │   └── sub-02_T1w.nii.gz -> ../../.git/annex/objects/qq/gm/MD5E-s10025785--0e790e210a275d76e3f2f4d895df6358.nii.gz/MD5E-s10025785--0e790e210a275d76e3f2f4d895df6358.nii.gz\r\n",
95+
"│   ├── dwi\r\n",
96+
"│   │   └── sub-02_dwi.nii.gz -> ../../.git/annex/objects/8x/vp/MD5E-s104222416--86575d07809e9c717079592a12c69344.nii.gz/MD5E-s104222416--86575d07809e9c717079592a12c69344.nii.gz\r\n",
97+
"│   └── func\r\n",
98+
"│   ├── sub-02_task-fingerfootlips_bold.nii.gz -> ../../.git/annex/objects/pG/k1/MD5E-s24882575--75c39bee9e25e02c629dfcce1b378589.nii.gz/MD5E-s24882575--75c39bee9e25e02c629dfcce1b378589.nii.gz\r\n",
99+
"│   ├── sub-02_task-linebisection_bold.nii.gz -> ../../.git/annex/objects/WM/m9/MD5E-s32248732--4cd877de7b4c66e073610dffb67dfbcc.nii.gz/MD5E-s32248732--4cd877de7b4c66e073610dffb67dfbcc.nii.gz\r\n",
100+
"│   └── sub-02_task-linebisection_events.tsv\r\n",
101+
"├── task-fingerfootlips_bold.json\r\n",
102+
"├── task-fingerfootlips_events.tsv\r\n",
103+
"└── task-linebisection_bold.json\r\n",
83104
"\r\n",
84-
"3 directories, 5 files\r\n"
105+
"12 directories, 17 files\r\n"
85106
]
86107
}
87108
],
88109
"source": [
89-
"!tree /data/ds000114/sub-01/"
110+
"!tree -L 3 /data/ds000114/"
90111
]
91112
},
92113
{
@@ -96,7 +117,9 @@
96117
"editable": true
97118
},
98119
"source": [
99-
"As you can, we have one anatomical T1w image, two functional images, `fingerfootlips` and `linebisection`, and one diffusion weighted image. "
120+
"As you can, for every subject we have one anatomical T1w image, two functional images, `fingerfootlips` and `linebisection`, and one diffusion weighted image. In addition, we have directory with derivatives. \n",
121+
"\n",
122+
"If you used `datalad` or `git annex` to get the dataset, you can see symlinks for the image files."
100123
]
101124
},
102125
{
@@ -118,7 +141,7 @@
118141
},
119142
{
120143
"cell_type": "code",
121-
"execution_count": null,
144+
"execution_count": 5,
122145
"metadata": {
123146
"collapsed": false,
124147
"deletable": true,

0 commit comments

Comments
 (0)