|
225 | 225 | ] |
226 | 226 | }, |
227 | 227 | { |
| 228 | + "attachments": {}, |
228 | 229 | "cell_type": "markdown", |
229 | 230 | "metadata": {}, |
230 | 231 | "source": [ |
231 | | - "We create the schema using `dj.schema()` function, passing in the name of the schema. For this workshop, you are given the database privilege to create any schema **starting with your username followed by a `_` charcter**. So if your username is `john`, you can make any schema starting with `john_`, such as `john_tutorial`." |
232 | | - ] |
233 | | - }, |
234 | | - { |
235 | | - "cell_type": "markdown", |
236 | | - "metadata": {}, |
237 | | - "source": [ |
238 | | - "Let's create a schema called `pipeline`, prefixed by `username_`." |
| 232 | + "We create the schema using `dj.schema()` function, passing in the name of the schema. For this workshop, you are given the database privilege to use any schema name. Let's create a schema called `tutorial`." |
239 | 233 | ] |
240 | 234 | }, |
241 | 235 | { |
|
252 | 246 | } |
253 | 247 | ], |
254 | 248 | "source": [ |
255 | | - "schema = dj.schema('{YOUR_USERNAME}_tutorial')" |
| 249 | + "schema = dj.schema('tutorial')" |
256 | 250 | ] |
257 | 251 | }, |
258 | 252 | { |
|
1109 | 1103 | "outputs": [ |
1110 | 1104 | { |
1111 | 1105 | "data": { |
1112 | | - "image/svg+xml": [ |
1113 | | - "<svg height=\"114pt\" viewBox=\"0.00 0.00 66.69 114.00\" width=\"67pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n", |
1114 | | - "<g class=\"graph\" id=\"graph0\" transform=\"scale(1 1) rotate(0) translate(4 110)\">\n", |
1115 | | - "<title>%3</title>\n", |
1116 | | - "<polygon fill=\"#ffffff\" points=\"-4,4 -4,-110 62.6914,-110 62.6914,4 -4,4\" stroke=\"transparent\"/>\n", |
1117 | | - "<!-- Mouse -->\n", |
1118 | | - "<g class=\"node\" id=\"node1\">\n", |
1119 | | - "<title>Mouse</title>\n", |
1120 | | - "<g id=\"a_node1\"><a xlink:title=\"mouse_id \r", |
1121 | | - "------------------------------\r", |
1122 | | - "dob=null \r", |
1123 | | - "sex="unknown" \r", |
1124 | | - "\">\n", |
1125 | | - "<polygon fill=\"#00ff00\" fill-opacity=\"0.188235\" points=\"55.3633,-106 3.3281,-106 3.3281,-71 55.3633,-71 55.3633,-106\" stroke=\"#00ff00\" stroke-opacity=\"0.188235\"/>\n", |
1126 | | - "<text fill=\"#006400\" font-family=\"arial\" font-size=\"12.00\" text-anchor=\"start\" text-decoration=\"underline\" x=\"11.3369\" y=\"-86.7994\">Mouse</text>\n", |
1127 | | - "</a>\n", |
1128 | | - "</g>\n", |
1129 | | - "</g>\n", |
1130 | | - "<!-- Session -->\n", |
1131 | | - "<g class=\"node\" id=\"node2\">\n", |
1132 | | - "<title>Session</title>\n", |
1133 | | - "<g id=\"a_node2\"><a xlink:title=\"→ Mouse\r", |
1134 | | - "session_date \r", |
1135 | | - "------------------------------\r", |
1136 | | - "experiment_setup \r", |
1137 | | - "experimenter \r", |
1138 | | - "data_path="" \r", |
1139 | | - "\">\n", |
1140 | | - "<polygon fill=\"#00ff00\" fill-opacity=\"0.188235\" points=\"58.5379,-35 .1535,-35 .1535,0 58.5379,0 58.5379,-35\" stroke=\"#00ff00\" stroke-opacity=\"0.188235\"/>\n", |
1141 | | - "<text fill=\"#006400\" font-family=\"arial\" font-size=\"12.00\" text-anchor=\"start\" text-decoration=\"underline\" x=\"8\" y=\"-15.7994\">Session</text>\n", |
1142 | | - "</a>\n", |
1143 | | - "</g>\n", |
1144 | | - "</g>\n", |
1145 | | - "<!-- Mouse->Session -->\n", |
1146 | | - "<g class=\"edge\" id=\"edge1\">\n", |
1147 | | - "<title>Mouse->Session</title>\n", |
1148 | | - "<path d=\"M29.3457,-70.9494C29.3457,-60.1083 29.3457,-46.2366 29.3457,-35.3418\" fill=\"none\" stroke=\"#000000\" stroke-opacity=\"0.250980\" stroke-width=\".75\"/>\n", |
1149 | | - "</g>\n", |
1150 | | - "</g>\n", |
1151 | | - "</svg>" |
1152 | | - ], |
| 1106 | + "image/svg+xml": "<svg height=\"114pt\" viewBox=\"0.00 0.00 66.69 114.00\" width=\"67pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g class=\"graph\" id=\"graph0\" transform=\"scale(1 1) rotate(0) translate(4 110)\">\n<title>%3</title>\n<polygon fill=\"#ffffff\" points=\"-4,4 -4,-110 62.6914,-110 62.6914,4 -4,4\" stroke=\"transparent\"/>\n<!-- Mouse -->\n<g class=\"node\" id=\"node1\">\n<title>Mouse</title>\n<g id=\"a_node1\"><a xlink:title=\"mouse_id \r\n------------------------------\r\ndob=null \r\nsex="unknown" \r\n\">\n<polygon fill=\"#00ff00\" fill-opacity=\"0.188235\" points=\"55.3633,-106 3.3281,-106 3.3281,-71 55.3633,-71 55.3633,-106\" stroke=\"#00ff00\" stroke-opacity=\"0.188235\"/>\n<text fill=\"#006400\" font-family=\"arial\" font-size=\"12.00\" text-anchor=\"start\" text-decoration=\"underline\" x=\"11.3369\" y=\"-86.7994\">Mouse</text>\n</a>\n</g>\n</g>\n<!-- Session -->\n<g class=\"node\" id=\"node2\">\n<title>Session</title>\n<g id=\"a_node2\"><a xlink:title=\"→ Mouse\r\nsession_date \r\n------------------------------\r\nexperiment_setup \r\nexperimenter \r\ndata_path="" \r\n\">\n<polygon fill=\"#00ff00\" fill-opacity=\"0.188235\" points=\"58.5379,-35 .1535,-35 .1535,0 58.5379,0 58.5379,-35\" stroke=\"#00ff00\" stroke-opacity=\"0.188235\"/>\n<text fill=\"#006400\" font-family=\"arial\" font-size=\"12.00\" text-anchor=\"start\" text-decoration=\"underline\" x=\"8\" y=\"-15.7994\">Session</text>\n</a>\n</g>\n</g>\n<!-- Mouse->Session -->\n<g class=\"edge\" id=\"edge1\">\n<title>Mouse->Session</title>\n<path d=\"M29.3457,-70.9494C29.3457,-60.1083 29.3457,-46.2366 29.3457,-35.3418\" fill=\"none\" stroke=\"#000000\" stroke-opacity=\"0.250980\" stroke-width=\".75\"/>\n</g>\n</g>\n</svg>", |
1153 | 1107 | "text/plain": [ |
1154 | 1108 | "<datajoint.diagram.Diagram at 0xa1d699588>" |
1155 | 1109 | ] |
|
0 commit comments