Skip to content

Commit 1abf1fc

Browse files
authored
simplify notebook
1 parent d2a5919 commit 1abf1fc

File tree

1 file changed

+2
-34
lines changed

1 file changed

+2
-34
lines changed

short_tutorials/datajoint_in_30mins.ipynb

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,44 +11,13 @@
1111
"import numpy as np"
1212
]
1313
},
14-
{
15-
"attachments": {},
16-
"cell_type": "markdown",
17-
"id": "c3ba552d-1894-41ea-ad4e-d96c828e871d",
18-
"metadata": {},
19-
"source": [
20-
"# Connect to the database"
21-
]
22-
},
23-
{
24-
"cell_type": "code",
25-
"execution_count": 13,
26-
"id": "284addad-c0aa-4ba5-a70d-8a238d05e6e9",
27-
"metadata": {},
28-
"outputs": [],
29-
"source": [
30-
"dj.config['database.host'] = '*************'\n",
31-
"dj.config['database.user'] = '*************'\n",
32-
"dj.config['database.password'] = '*************'"
33-
]
34-
},
35-
{
36-
"cell_type": "code",
37-
"execution_count": null,
38-
"id": "35ea1431-0762-48ec-8ed7-0744bd7d4fe6",
39-
"metadata": {},
40-
"outputs": [],
41-
"source": [
42-
"dj.conn()"
43-
]
44-
},
4514
{
4615
"attachments": {},
4716
"cell_type": "markdown",
4817
"id": "e086433f-70ec-4f5d-ac4b-0fa889b53e60",
4918
"metadata": {},
5019
"source": [
51-
"# Define and create table"
20+
"# Define tables"
5221
]
5322
},
5423
{
@@ -58,8 +27,7 @@
5827
"metadata": {},
5928
"outputs": [],
6029
"source": [
61-
"schema_name = 'your_schema_name'\n",
62-
"schema = dj.Schema(schema_name)"
30+
"schema = dj.Schema(\"experiment\")"
6331
]
6432
},
6533
{

0 commit comments

Comments
 (0)