Skip to content

Commit e5a918a

Browse files
committed
Update notebooks
1 parent e1ec46a commit e5a918a

File tree

2 files changed

+7
-59
lines changed

2 files changed

+7
-59
lines changed

00-Getting_Started/01-DataJoint Basics - Interactive.ipynb

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,11 @@
225225
]
226226
},
227227
{
228+
"attachments": {},
228229
"cell_type": "markdown",
229230
"metadata": {},
230231
"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`."
239233
]
240234
},
241235
{
@@ -244,7 +238,7 @@
244238
"metadata": {},
245239
"outputs": [],
246240
"source": [
247-
"schema = dj.schema('neuro_tutorial')"
241+
"schema = dj.schema('tutorial')"
248242
]
249243
},
250244
{

03-Completed_Exercises/01-DataJoint Basics - Completed.ipynb

Lines changed: 4 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,11 @@
225225
]
226226
},
227227
{
228+
"attachments": {},
228229
"cell_type": "markdown",
229230
"metadata": {},
230231
"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`."
239233
]
240234
},
241235
{
@@ -252,7 +246,7 @@
252246
}
253247
],
254248
"source": [
255-
"schema = dj.schema('{YOUR_USERNAME}_tutorial')"
249+
"schema = dj.schema('tutorial')"
256250
]
257251
},
258252
{
@@ -1109,47 +1103,7 @@
11091103
"outputs": [
11101104
{
11111105
"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=&quot;unknown&quot;        \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=&quot;&quot;         \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&#45;&gt;Session -->\n",
1146-
"<g class=\"edge\" id=\"edge1\">\n",
1147-
"<title>Mouse-&gt;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=&quot;unknown&quot;        \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=&quot;&quot;         \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&#45;&gt;Session -->\n<g class=\"edge\" id=\"edge1\">\n<title>Mouse-&gt;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>",
11531107
"text/plain": [
11541108
"<datajoint.diagram.Diagram at 0xa1d699588>"
11551109
]

0 commit comments

Comments
 (0)