|
17 | 17 | "execution_count": null,
|
18 | 18 | "id": "28d0e8b6-9bbd-4256-a19a-ff36eeca5cfd",
|
19 | 19 | "metadata": {
|
20 |
| - "id": "28d0e8b6-9bbd-4256-a19a-ff36eeca5cfd" |
| 20 | + "id": "28d0e8b6-9bbd-4256-a19a-ff36eeca5cfd", |
| 21 | + "cellView": "form" |
21 | 22 | },
|
22 | 23 | "outputs": [],
|
23 | 24 | "source": [
|
|
28 | 29 | "pip install -r requirements.txt"
|
29 | 30 | ]
|
30 | 31 | },
|
31 |
| - { |
32 |
| - "cell_type": "markdown", |
33 |
| - "id": "37860b1b-5031-4bd7-8e86-c668f545126b", |
34 |
| - "metadata": { |
35 |
| - "id": "37860b1b-5031-4bd7-8e86-c668f545126b" |
36 |
| - }, |
37 |
| - "source": [ |
38 |
| - "## INSERT YOUR META-ANALYSIS ID HERE\n", |
39 |
| - "\n", |
40 |
| - "This is the id for your specific meta-analysis" |
41 |
| - ] |
42 |
| - }, |
43 |
| - { |
44 |
| - "cell_type": "code", |
45 |
| - "execution_count": null, |
46 |
| - "id": "178c5406-2625-4048-af3c-c01bdb5e1b56", |
47 |
| - "metadata": { |
48 |
| - "id": "178c5406-2625-4048-af3c-c01bdb5e1b56" |
49 |
| - }, |
50 |
| - "outputs": [], |
51 |
| - "source": [ |
52 |
| - "#@title Set your Neurosynth-Compose Meta-Analysis ID { run: \"auto\" }\n", |
53 |
| - "META_ID = input(\"Paste the 12 character ID of the meta-analysis here: \") # for example: \"8dJ6tG7wfbyS\"\n", |
54 |
| - "META_ID = META_ID.replace(\" \", \"\")" |
55 |
| - ] |
56 |
| - }, |
57 | 32 | {
|
58 | 33 | "cell_type": "markdown",
|
59 | 34 | "id": "7dccf070-a1cc-4471-97f1-d386374a80df",
|
|
67 | 42 | "run the selected algorithm and corrector (optional) on the studyset selected."
|
68 | 43 | ]
|
69 | 44 | },
|
70 |
| - { |
71 |
| - "cell_type": "code", |
72 |
| - "execution_count": null, |
73 |
| - "id": "8aee063b-9a03-4cd0-8de5-46b66cdf19c4", |
74 |
| - "metadata": { |
75 |
| - "id": "8aee063b-9a03-4cd0-8de5-46b66cdf19c4" |
76 |
| - }, |
77 |
| - "outputs": [], |
78 |
| - "source": [ |
79 |
| - "from pynsc.run import run # special workflow to run meta-analysis" |
80 |
| - ] |
81 |
| - }, |
82 | 45 | {
|
83 | 46 | "cell_type": "code",
|
84 | 47 | "execution_count": null,
|
85 | 48 | "id": "51a1e194-af1a-461c-a73f-3e79a31db95f",
|
86 | 49 | "metadata": {
|
87 |
| - "id": "51a1e194-af1a-461c-a73f-3e79a31db95f" |
| 50 | + "id": "51a1e194-af1a-461c-a73f-3e79a31db95f", |
| 51 | + "cellView": "form" |
88 | 52 | },
|
89 | 53 | "outputs": [],
|
90 | 54 | "source": [
|
| 55 | + "#@title Insert the Meta-Analysis ID and Execute your Meta-Analysis { vertical-output: true }\n", |
| 56 | + "from pynsc.run import run # special workflow to run meta-analysis\n", |
| 57 | + "META_ID = \"\" #@param {type:\"string\"}\n", |
91 | 58 | "url = meta_result = None\n",
|
92 | 59 | "if META_ID is not None:\n",
|
93 | 60 | " url, meta_result = run(META_ID)\n",
|
|
139 | 106 | {
|
140 | 107 | "cell_type": "code",
|
141 | 108 | "source": [
|
| 109 | + "#@title Download the Report\n", |
142 | 110 | "from google.colab import files\n",
|
143 | 111 | "import shutil\n",
|
144 | 112 | "\n",
|
|
154 | 122 | "\n"
|
155 | 123 | ],
|
156 | 124 | "metadata": {
|
157 |
| - "id": "1g7ewj1h2Xtw" |
| 125 | + "id": "1g7ewj1h2Xtw", |
| 126 | + "cellView": "form" |
158 | 127 | },
|
159 | 128 | "id": "1g7ewj1h2Xtw",
|
160 | 129 | "execution_count": null,
|
|
164 | 133 | "cell_type": "code",
|
165 | 134 | "execution_count": null,
|
166 | 135 | "metadata": {
|
167 |
| - "id": "9OyC1_bSEccg" |
| 136 | + "id": "9OyC1_bSEccg", |
| 137 | + "cellView": "form" |
168 | 138 | },
|
169 | 139 | "outputs": [],
|
170 | 140 | "source": [
|
| 141 | + "#@title Display the Report\n", |
171 | 142 | "import portpicker\n",
|
172 | 143 | "import threading\n",
|
173 | 144 | "import socket\n",
|
|
198 | 169 | "output.serve_kernel_port_as_iframe(port, path='/report/report.html')"
|
199 | 170 | ],
|
200 | 171 | "id": "9OyC1_bSEccg"
|
201 |
| - }, |
202 |
| - { |
203 |
| - "cell_type": "code", |
204 |
| - "source": [], |
205 |
| - "metadata": { |
206 |
| - "id": "uBujVXqe-DqW" |
207 |
| - }, |
208 |
| - "id": "uBujVXqe-DqW", |
209 |
| - "execution_count": null, |
210 |
| - "outputs": [] |
211 | 172 | }
|
212 | 173 | ],
|
213 | 174 | "metadata": {
|
|
0 commit comments