|
4 | 4 | "cell_type": "markdown", |
5 | 5 | "metadata": {}, |
6 | 6 | "source": [ |
7 | | - "# saving two `_events.tsv` for the same run" |
| 7 | + "# saving two `_events.tsv` for the same run\n", |
| 8 | + "\n", |
| 9 | + "This won't create BIDS valid output but this might help you organize some of your output in different TSV files.\n", |
| 10 | + "\n" |
8 | 11 | ] |
9 | 12 | }, |
10 | 13 | { |
11 | 14 | "cell_type": "code", |
12 | | - "execution_count": 32, |
| 15 | + "execution_count": 1, |
13 | 16 | "metadata": {}, |
14 | 17 | "outputs": [], |
15 | 18 | "source": [ |
|
23 | 26 | "cfg.subject.subjectNb = 1;\n", |
24 | 27 | "cfg.subject.runNb = 1;\n", |
25 | 28 | "\n", |
26 | | - "cfg.testingDevice = 'mri';\n", |
| 29 | + "cfg.testingDevice = 'pc';\n", |
27 | 30 | "\n", |
28 | 31 | "cfg.verbose = true;" |
29 | 32 | ] |
|
37 | 40 | }, |
38 | 41 | { |
39 | 42 | "cell_type": "code", |
40 | | - "execution_count": 33, |
| 43 | + "execution_count": 2, |
41 | 44 | "metadata": { |
42 | 45 | "scrolled": true |
43 | 46 | }, |
|
48 | 51 | "text": [ |
49 | 52 | "\r\n", |
50 | 53 | "Data will be saved in this directory:\r\n", |
51 | | - "\t/home/remi/github/CPP_BIDS/notebooks/output/source/sub-001/ses-001/func\r\n", |
| 54 | + "\t/home/remi/github/CPP_BIDS/notebooks/output/source/sub-001/ses-001/beh\r\n", |
52 | 55 | "\r\n", |
53 | 56 | "Data will be saved in this file:\r\n", |
54 | | - "\tsub-001_ses-001_task-testTask_run-001_events_date-202010191333.tsv\r\n" |
| 57 | + "\tsub-001_ses-001_task-testTask_run-001_events_date-202010191603.tsv\r\n" |
55 | 58 | ] |
56 | 59 | } |
57 | 60 | ], |
|
62 | 65 | }, |
63 | 66 | { |
64 | 67 | "cell_type": "code", |
65 | | - "execution_count": 34, |
| 68 | + "execution_count": 3, |
66 | 69 | "metadata": {}, |
67 | 70 | "outputs": [ |
68 | 71 | { |
|
86 | 89 | }, |
87 | 90 | { |
88 | 91 | "cell_type": "code", |
89 | | - "execution_count": 35, |
| 92 | + "execution_count": 4, |
90 | 93 | "metadata": {}, |
91 | 94 | "outputs": [ |
92 | 95 | { |
|
95 | 98 | "text": [ |
96 | 99 | "\r\n", |
97 | 100 | "Data will be saved in this directory:\r\n", |
98 | | - "\t/home/remi/github/CPP_BIDS/notebooks/output/source/sub-001/ses-001/func\r\n", |
| 101 | + "\t/home/remi/github/CPP_BIDS/notebooks/output/source/sub-001/ses-001/beh\r\n", |
99 | 102 | "\r\n", |
100 | 103 | "Data will be saved in this file:\r\n", |
101 | | - "\tsub-001_ses-001_task-testTask_acq-extraInfo_run-001_events_date-202010191333.tsv\r\n" |
| 104 | + "\tsub-001_ses-001_task-testTask_acq-extraInfo_run-001_events_date-202010191603.tsv\r\n" |
102 | 105 | ] |
103 | 106 | } |
104 | 107 | ], |
|
113 | 116 | }, |
114 | 117 | { |
115 | 118 | "cell_type": "code", |
116 | | - "execution_count": 36, |
| 119 | + "execution_count": 5, |
117 | 120 | "metadata": {}, |
118 | 121 | "outputs": [ |
119 | 122 | { |
|
138 | 141 | }, |
139 | 142 | { |
140 | 143 | "cell_type": "code", |
141 | | - "execution_count": 37, |
142 | | - "metadata": {}, |
| 144 | + "execution_count": 6, |
| 145 | + "metadata": { |
| 146 | + "scrolled": true |
| 147 | + }, |
143 | 148 | "outputs": [ |
144 | 149 | { |
145 | 150 | "name": "stdout", |
|
188 | 193 | "\n", |
189 | 194 | "logFile_2 = saveEventsFile('save', cfg, logFile_2);" |
190 | 195 | ] |
| 196 | + }, |
| 197 | + { |
| 198 | + "cell_type": "code", |
| 199 | + "execution_count": 7, |
| 200 | + "metadata": {}, |
| 201 | + "outputs": [ |
| 202 | + { |
| 203 | + "name": "stdout", |
| 204 | + "output_type": "stream", |
| 205 | + "text": [ |
| 206 | + "\n", |
| 207 | + "Data were saved in this file:\n", |
| 208 | + "\n", |
| 209 | + "/home/remi/github/CPP_BIDS/notebooks/output/source/sub-001/ses-001/beh/sub-001_ses-001_task-testTask_run-001_events_date-202010191603.tsv\n", |
| 210 | + "\n", |
| 211 | + "\n", |
| 212 | + "Data were saved in this file:\n", |
| 213 | + "\n", |
| 214 | + "/home/remi/github/CPP_BIDS/notebooks/output/source/sub-001/ses-001/beh/sub-001_ses-001_task-testTask_acq-extraInfo_run-001_events_date-202010191603.tsv\n", |
| 215 | + "\n" |
| 216 | + ] |
| 217 | + } |
| 218 | + ], |
| 219 | + "source": [ |
| 220 | + "saveEventsFile('close', cfg, logFile);\n", |
| 221 | + "saveEventsFile('close', cfg, logFile_2);" |
| 222 | + ] |
191 | 223 | } |
192 | 224 | ], |
193 | 225 | "metadata": { |
|
0 commit comments