diff --git a/src/how-to/model-relationships.ipynb b/src/how-to/model-relationships.ipynb
index 90863ef2..9391e970 100644
--- a/src/how-to/model-relationships.ipynb
+++ b/src/how-to/model-relationships.ipynb
@@ -16,10 +16,10 @@
"id": "cell-setup",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:14.827826Z",
- "iopub.status.busy": "2026-01-23T05:10:14.827722Z",
- "iopub.status.idle": "2026-01-23T05:10:15.659718Z",
- "shell.execute_reply": "2026-01-23T05:10:15.659308Z"
+ "iopub.execute_input": "2026-01-23T15:44:06.862924Z",
+ "iopub.status.busy": "2026-01-23T15:44:06.862777Z",
+ "iopub.status.idle": "2026-01-23T15:44:07.736464Z",
+ "shell.execute_reply": "2026-01-23T15:44:07.736042Z"
}
},
"outputs": [
@@ -27,7 +27,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:10:15,646][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:44:07,725][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -55,10 +55,10 @@
"id": "cell-basic",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:15.661743Z",
- "iopub.status.busy": "2026-01-23T05:10:15.661509Z",
- "iopub.status.idle": "2026-01-23T05:10:16.049970Z",
- "shell.execute_reply": "2026-01-23T05:10:16.049444Z"
+ "iopub.execute_input": "2026-01-23T15:44:07.738799Z",
+ "iopub.status.busy": "2026-01-23T15:44:07.738540Z",
+ "iopub.status.idle": "2026-01-23T15:44:08.141279Z",
+ "shell.execute_reply": "2026-01-23T15:44:08.140816Z"
}
},
"outputs": [
@@ -68,28 +68,28 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 2,
@@ -176,10 +176,10 @@
"id": "cell-contain",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:16.051822Z",
- "iopub.status.busy": "2026-01-23T05:10:16.051712Z",
- "iopub.status.idle": "2026-01-23T05:10:16.192709Z",
- "shell.execute_reply": "2026-01-23T05:10:16.192249Z"
+ "iopub.execute_input": "2026-01-23T15:44:08.143459Z",
+ "iopub.status.busy": "2026-01-23T15:44:08.143256Z",
+ "iopub.status.idle": "2026-01-23T15:44:08.289115Z",
+ "shell.execute_reply": "2026-01-23T15:44:08.288668Z"
}
},
"outputs": [
@@ -224,7 +224,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 3,
@@ -271,10 +271,10 @@
"id": "cell-ref",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:16.194709Z",
- "iopub.status.busy": "2026-01-23T05:10:16.194553Z",
- "iopub.status.idle": "2026-01-23T05:10:16.354769Z",
- "shell.execute_reply": "2026-01-23T05:10:16.354364Z"
+ "iopub.execute_input": "2026-01-23T15:44:08.290952Z",
+ "iopub.status.busy": "2026-01-23T15:44:08.290787Z",
+ "iopub.status.idle": "2026-01-23T15:44:08.446487Z",
+ "shell.execute_reply": "2026-01-23T15:44:08.446005Z"
}
},
"outputs": [
@@ -318,7 +318,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 4,
@@ -377,10 +377,10 @@
"id": "cell-ext",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:16.356481Z",
- "iopub.status.busy": "2026-01-23T05:10:16.356325Z",
- "iopub.status.idle": "2026-01-23T05:10:16.502864Z",
- "shell.execute_reply": "2026-01-23T05:10:16.502439Z"
+ "iopub.execute_input": "2026-01-23T15:44:08.448362Z",
+ "iopub.status.busy": "2026-01-23T15:44:08.448197Z",
+ "iopub.status.idle": "2026-01-23T15:44:08.594190Z",
+ "shell.execute_reply": "2026-01-23T15:44:08.593764Z"
}
},
"outputs": [
@@ -390,28 +390,28 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 5,
@@ -471,10 +471,10 @@
"id": "cell-null",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:16.504705Z",
- "iopub.status.busy": "2026-01-23T05:10:16.504520Z",
- "iopub.status.idle": "2026-01-23T05:10:16.666922Z",
- "shell.execute_reply": "2026-01-23T05:10:16.666527Z"
+ "iopub.execute_input": "2026-01-23T15:44:08.596030Z",
+ "iopub.status.busy": "2026-01-23T15:44:08.595852Z",
+ "iopub.status.idle": "2026-01-23T15:44:08.760578Z",
+ "shell.execute_reply": "2026-01-23T15:44:08.760155Z"
}
},
"outputs": [
@@ -484,56 +484,56 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 6,
@@ -586,10 +586,10 @@
"id": "cell-unique",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:16.668794Z",
- "iopub.status.busy": "2026-01-23T05:10:16.668548Z",
- "iopub.status.idle": "2026-01-23T05:10:16.819746Z",
- "shell.execute_reply": "2026-01-23T05:10:16.819289Z"
+ "iopub.execute_input": "2026-01-23T15:44:08.762721Z",
+ "iopub.status.busy": "2026-01-23T15:44:08.762529Z",
+ "iopub.status.idle": "2026-01-23T15:44:08.932626Z",
+ "shell.execute_reply": "2026-01-23T15:44:08.932146Z"
}
},
"outputs": [
@@ -599,28 +599,28 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 7,
@@ -699,10 +699,10 @@
"id": "cell-m2m",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:16.821532Z",
- "iopub.status.busy": "2026-01-23T05:10:16.821364Z",
- "iopub.status.idle": "2026-01-23T05:10:16.983098Z",
- "shell.execute_reply": "2026-01-23T05:10:16.982634Z"
+ "iopub.execute_input": "2026-01-23T15:44:08.934611Z",
+ "iopub.status.busy": "2026-01-23T15:44:08.934358Z",
+ "iopub.status.idle": "2026-01-23T15:44:09.109881Z",
+ "shell.execute_reply": "2026-01-23T15:44:09.109456Z"
}
},
"outputs": [
@@ -712,28 +712,28 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 8,
@@ -822,10 +822,10 @@
"id": "cell-hier",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:16.985065Z",
- "iopub.status.busy": "2026-01-23T05:10:16.984903Z",
- "iopub.status.idle": "2026-01-23T05:10:17.118107Z",
- "shell.execute_reply": "2026-01-23T05:10:17.117733Z"
+ "iopub.execute_input": "2026-01-23T15:44:09.111837Z",
+ "iopub.status.busy": "2026-01-23T15:44:09.111637Z",
+ "iopub.status.idle": "2026-01-23T15:44:09.246503Z",
+ "shell.execute_reply": "2026-01-23T15:44:09.246108Z"
}
},
"outputs": [
@@ -835,10 +835,23 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 9,
@@ -927,10 +927,10 @@
"id": "cell-part",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:17.119879Z",
- "iopub.status.busy": "2026-01-23T05:10:17.119658Z",
- "iopub.status.idle": "2026-01-23T05:10:17.280100Z",
- "shell.execute_reply": "2026-01-23T05:10:17.279614Z"
+ "iopub.execute_input": "2026-01-23T15:44:09.248287Z",
+ "iopub.status.busy": "2026-01-23T15:44:09.248136Z",
+ "iopub.status.idle": "2026-01-23T15:44:09.409444Z",
+ "shell.execute_reply": "2026-01-23T15:44:09.409012Z"
}
},
"outputs": [
@@ -954,9 +954,9 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Scan.ROI\n",
- "\n",
"\n",
"\n",
- "\n",
+ "\n",
"Session\n",
- ""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 10,
@@ -1052,10 +1052,10 @@
"id": "cell-rename",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:17.282025Z",
- "iopub.status.busy": "2026-01-23T05:10:17.281811Z",
- "iopub.status.idle": "2026-01-23T05:10:17.431860Z",
- "shell.execute_reply": "2026-01-23T05:10:17.431454Z"
+ "iopub.execute_input": "2026-01-23T15:44:09.411551Z",
+ "iopub.status.busy": "2026-01-23T15:44:09.411347Z",
+ "iopub.status.idle": "2026-01-23T15:44:09.557235Z",
+ "shell.execute_reply": "2026-01-23T15:44:09.556814Z"
}
},
"outputs": [
@@ -1065,16 +1065,16 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 11,
@@ -1174,10 +1174,10 @@
"id": "cell-computed",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:17.433678Z",
- "iopub.status.busy": "2026-01-23T05:10:17.433505Z",
- "iopub.status.idle": "2026-01-23T05:10:17.577613Z",
- "shell.execute_reply": "2026-01-23T05:10:17.577143Z"
+ "iopub.execute_input": "2026-01-23T15:44:09.559132Z",
+ "iopub.status.busy": "2026-01-23T15:44:09.558981Z",
+ "iopub.status.idle": "2026-01-23T15:44:09.703439Z",
+ "shell.execute_reply": "2026-01-23T15:44:09.703028Z"
}
},
"outputs": [
@@ -1221,7 +1221,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 12,
@@ -1268,10 +1268,10 @@
"id": "cell-full",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:17.579547Z",
- "iopub.status.busy": "2026-01-23T05:10:17.579367Z",
- "iopub.status.idle": "2026-01-23T05:10:17.706128Z",
- "shell.execute_reply": "2026-01-23T05:10:17.705691Z"
+ "iopub.execute_input": "2026-01-23T15:44:09.705318Z",
+ "iopub.status.busy": "2026-01-23T15:44:09.705153Z",
+ "iopub.status.idle": "2026-01-23T15:44:09.841654Z",
+ "shell.execute_reply": "2026-01-23T15:44:09.841096Z"
}
},
"outputs": [
@@ -1288,9 +1288,9 @@
"8\n",
"\n",
"\n",
- "\n",
+ "\n",
"Comparison\n",
- "9->Comparison\n",
"\n",
"\n",
- "\n",
+ "\n",
"\n",
+ "Subject\n",
+ "\n",
+ "\n",
+ "Subject\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "Assignment\n",
+ "\n",
+ "\n",
+ "Assignment\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "Subject->Assignment\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "SubjectDetails\n",
+ "\n",
+ "\n",
+ "SubjectDetails\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "Subject->SubjectDetails\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "Session\n",
+ "\n",
+ "\n",
+ "Session\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "Subject->Session\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
"TrialAnalysis\n",
- "\n",
@@ -1329,9 +1395,9 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Scan.ROI\n",
- "\n",
"\n",
"\n",
- "\n",
+ "\n",
"Scan\n",
- "\n",
"\n",
"\n",
- "\n",
+ "\n",
"Scan->Scan.ROI\n",
"\n",
"\n",
- "\n",
- "\n",
- "Assignment\n",
- "\n",
- "\n",
- "Assignment\n",
- "\n",
- "\n",
- "\n",
"\n",
- "\n",
+ "\n",
"Protocol\n",
- "\n",
@@ -1386,14 +1439,14 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Protocol->Assignment\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"ParkingSpot\n",
- "\n",
"\n",
"\n",
- "\n",
+ "\n",
"Employee\n",
- "\n",
@@ -1416,14 +1469,14 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Employee->ParkingSpot\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"TrialStimulus\n",
- "\n",
@@ -1433,9 +1486,9 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Stimulus\n",
- "\n",
"\n",
"Stimulus\n",
@@ -1443,27 +1496,14 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Stimulus->TrialStimulus\n",
"\n",
"\n",
- "\n",
- "\n",
- "SubjectDetails\n",
- "\n",
- "\n",
- "SubjectDetails\n",
- "\n",
- "\n",
- "\n",
"\n",
- "\n",
+ "\n",
"Recording\n",
- "\n",
"\n",
"\n",
- "\n",
+ "\n",
"Equipment\n",
- "\n",
@@ -1486,14 +1526,14 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Equipment->Recording\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Trial\n",
- "\n",
"\n",
"\n",
- "\n",
+ "\n",
"Trial->TrialAnalysis\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Trial->TrialStimulus\n",
"\n",
"\n",
- "\n",
- "\n",
- "Session\n",
- "\n",
- "\n",
- "Session\n",
- "\n",
- "\n",
- "\n",
"\n",
- "\n",
+ "\n",
"Session->8\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Session->9\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Session->Scan\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Session->Trial\n",
"\n",
"\n",
- "\n",
- "\n",
- "Subject\n",
- "\n",
- "\n",
- "Subject\n",
- "\n",
- "\n",
- "\n",
- "\n",
- "\n",
- "Subject->Assignment\n",
- "\n",
- "\n",
- "\n",
- "\n",
- "Subject->SubjectDetails\n",
- "\n",
- "\n",
- "\n",
- "\n",
- "Subject->Session\n",
- "\n",
- "\n",
"\n",
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 13,
@@ -1628,10 +1628,10 @@
"id": "cell-cleanup",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:17.707727Z",
- "iopub.status.busy": "2026-01-23T05:10:17.707581Z",
- "iopub.status.idle": "2026-01-23T05:10:17.720327Z",
- "shell.execute_reply": "2026-01-23T05:10:17.719916Z"
+ "iopub.execute_input": "2026-01-23T15:44:09.843558Z",
+ "iopub.status.busy": "2026-01-23T15:44:09.843394Z",
+ "iopub.status.idle": "2026-01-23T15:44:09.855156Z",
+ "shell.execute_reply": "2026-01-23T15:44:09.854835Z"
}
},
"outputs": [],
diff --git a/src/how-to/read-diagrams.ipynb b/src/how-to/read-diagrams.ipynb
index dc942dbf..82085715 100644
--- a/src/how-to/read-diagrams.ipynb
+++ b/src/how-to/read-diagrams.ipynb
@@ -21,10 +21,10 @@
"id": "cell-setup",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:19.056724Z",
- "iopub.status.busy": "2026-01-23T05:10:19.056576Z",
- "iopub.status.idle": "2026-01-23T05:10:19.890487Z",
- "shell.execute_reply": "2026-01-23T05:10:19.890173Z"
+ "iopub.execute_input": "2026-01-23T15:44:10.974173Z",
+ "iopub.status.busy": "2026-01-23T15:44:10.974065Z",
+ "iopub.status.idle": "2026-01-23T15:44:11.820831Z",
+ "shell.execute_reply": "2026-01-23T15:44:11.820514Z"
}
},
"outputs": [
@@ -32,7 +32,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:10:19,878][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:44:11,808][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -76,10 +76,10 @@
"id": "cell-thick",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:19.892317Z",
- "iopub.status.busy": "2026-01-23T05:10:19.892107Z",
- "iopub.status.idle": "2026-01-23T05:10:20.285656Z",
- "shell.execute_reply": "2026-01-23T05:10:20.285100Z"
+ "iopub.execute_input": "2026-01-23T15:44:11.822641Z",
+ "iopub.status.busy": "2026-01-23T15:44:11.822441Z",
+ "iopub.status.idle": "2026-01-23T15:44:12.215814Z",
+ "shell.execute_reply": "2026-01-23T15:44:12.215235Z"
}
},
"outputs": [
@@ -123,7 +123,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 2,
@@ -182,10 +182,10 @@
"id": "cell-thin",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:20.287739Z",
- "iopub.status.busy": "2026-01-23T05:10:20.287586Z",
- "iopub.status.idle": "2026-01-23T05:10:20.432094Z",
- "shell.execute_reply": "2026-01-23T05:10:20.431704Z"
+ "iopub.execute_input": "2026-01-23T15:44:12.217882Z",
+ "iopub.status.busy": "2026-01-23T15:44:12.217755Z",
+ "iopub.status.idle": "2026-01-23T15:44:12.353603Z",
+ "shell.execute_reply": "2026-01-23T15:44:12.353134Z"
}
},
"outputs": [
@@ -229,7 +229,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 3,
@@ -280,10 +280,10 @@
"id": "cell-dashed",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:20.433970Z",
- "iopub.status.busy": "2026-01-23T05:10:20.433793Z",
- "iopub.status.idle": "2026-01-23T05:10:20.585647Z",
- "shell.execute_reply": "2026-01-23T05:10:20.585213Z"
+ "iopub.execute_input": "2026-01-23T15:44:12.355610Z",
+ "iopub.status.busy": "2026-01-23T15:44:12.355434Z",
+ "iopub.status.idle": "2026-01-23T15:44:12.501480Z",
+ "shell.execute_reply": "2026-01-23T15:44:12.500975Z"
}
},
"outputs": [
@@ -293,28 +293,28 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 4,
@@ -395,10 +395,10 @@
"id": "cell-dim",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:20.587550Z",
- "iopub.status.busy": "2026-01-23T05:10:20.587378Z",
- "iopub.status.idle": "2026-01-23T05:10:20.748265Z",
- "shell.execute_reply": "2026-01-23T05:10:20.747744Z"
+ "iopub.execute_input": "2026-01-23T15:44:12.503472Z",
+ "iopub.status.busy": "2026-01-23T15:44:12.503310Z",
+ "iopub.status.idle": "2026-01-23T15:44:12.661407Z",
+ "shell.execute_reply": "2026-01-23T15:44:12.660916Z"
}
},
"outputs": [
@@ -537,7 +537,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 5,
@@ -605,10 +605,10 @@
"id": "cell-m2m",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:20.750045Z",
- "iopub.status.busy": "2026-01-23T05:10:20.749876Z",
- "iopub.status.idle": "2026-01-23T05:10:20.913044Z",
- "shell.execute_reply": "2026-01-23T05:10:20.912652Z"
+ "iopub.execute_input": "2026-01-23T15:44:12.663503Z",
+ "iopub.status.busy": "2026-01-23T15:44:12.663224Z",
+ "iopub.status.idle": "2026-01-23T15:44:12.834011Z",
+ "shell.execute_reply": "2026-01-23T15:44:12.833617Z"
}
},
"outputs": [
@@ -618,19 +618,36 @@
"\n",
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 6,
@@ -736,10 +736,10 @@
"id": "cell-rename",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:20.914842Z",
- "iopub.status.busy": "2026-01-23T05:10:20.914687Z",
- "iopub.status.idle": "2026-01-23T05:10:21.064279Z",
- "shell.execute_reply": "2026-01-23T05:10:21.063877Z"
+ "iopub.execute_input": "2026-01-23T15:44:12.835855Z",
+ "iopub.status.busy": "2026-01-23T15:44:12.835687Z",
+ "iopub.status.idle": "2026-01-23T15:44:12.992325Z",
+ "shell.execute_reply": "2026-01-23T15:44:12.991938Z"
}
},
"outputs": [
@@ -811,7 +811,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 7,
@@ -867,10 +867,10 @@
"id": "cell-ops1",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:21.066027Z",
- "iopub.status.busy": "2026-01-23T05:10:21.065869Z",
- "iopub.status.idle": "2026-01-23T05:10:21.193890Z",
- "shell.execute_reply": "2026-01-23T05:10:21.193473Z"
+ "iopub.execute_input": "2026-01-23T15:44:12.994027Z",
+ "iopub.status.busy": "2026-01-23T15:44:12.993882Z",
+ "iopub.status.idle": "2026-01-23T15:44:13.125550Z",
+ "shell.execute_reply": "2026-01-23T15:44:13.125135Z"
}
},
"outputs": [
@@ -1114,7 +1114,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 8,
@@ -1133,10 +1133,10 @@
"id": "cell-ops2",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:21.195567Z",
- "iopub.status.busy": "2026-01-23T05:10:21.195409Z",
- "iopub.status.idle": "2026-01-23T05:10:21.318637Z",
- "shell.execute_reply": "2026-01-23T05:10:21.317995Z"
+ "iopub.execute_input": "2026-01-23T15:44:13.127206Z",
+ "iopub.status.busy": "2026-01-23T15:44:13.127056Z",
+ "iopub.status.idle": "2026-01-23T15:44:13.247291Z",
+ "shell.execute_reply": "2026-01-23T15:44:13.246905Z"
}
},
"outputs": [
@@ -1180,7 +1180,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 9,
@@ -1199,10 +1199,10 @@
"id": "cell-ops3",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:21.320493Z",
- "iopub.status.busy": "2026-01-23T05:10:21.320330Z",
- "iopub.status.idle": "2026-01-23T05:10:21.454963Z",
- "shell.execute_reply": "2026-01-23T05:10:21.454573Z"
+ "iopub.execute_input": "2026-01-23T15:44:13.248947Z",
+ "iopub.status.busy": "2026-01-23T15:44:13.248720Z",
+ "iopub.status.idle": "2026-01-23T15:44:13.372758Z",
+ "shell.execute_reply": "2026-01-23T15:44:13.372365Z"
}
},
"outputs": [
@@ -1224,46 +1224,46 @@
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"\n",
- "Subject\n",
- "Session\n",
+ "\n",
- "\n",
- "Subject\n",
+ "\n",
+ "Session\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
+ "\n",
+ "Session->SessionQC\n",
+ "\n",
+ "\n",
+ "\n",
"\n",
- "Session\n",
- "Subject\n",
+ "\n",
- "\n",
- "Session\n",
+ "\n",
+ "Subject\n",
"\n",
"\n",
"\n",
"\n",
- "\n",
+ "\n",
"Subject->Session\n",
"\n",
"\n",
- "\n",
- "\n",
- "Session->SessionQC\n",
- "\n",
- "\n",
"\n",
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 10,
@@ -1372,10 +1372,10 @@
"id": "cell-cleanup",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:10:21.456879Z",
- "iopub.status.busy": "2026-01-23T05:10:21.456729Z",
- "iopub.status.idle": "2026-01-23T05:10:21.470411Z",
- "shell.execute_reply": "2026-01-23T05:10:21.470135Z"
+ "iopub.execute_input": "2026-01-23T15:44:13.374625Z",
+ "iopub.status.busy": "2026-01-23T15:44:13.374470Z",
+ "iopub.status.idle": "2026-01-23T15:44:13.385679Z",
+ "shell.execute_reply": "2026-01-23T15:44:13.385374Z"
}
},
"outputs": [],
diff --git a/src/tutorials/advanced/custom-codecs.ipynb b/src/tutorials/advanced/custom-codecs.ipynb
index 0d628fc2..80e60389 100644
--- a/src/tutorials/advanced/custom-codecs.ipynb
+++ b/src/tutorials/advanced/custom-codecs.ipynb
@@ -20,10 +20,10 @@
"id": "cell-1",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:53.523460Z",
- "iopub.status.busy": "2026-01-23T05:08:53.523358Z",
- "iopub.status.idle": "2026-01-23T05:08:54.450994Z",
- "shell.execute_reply": "2026-01-23T05:08:54.450645Z"
+ "iopub.execute_input": "2026-01-23T15:42:35.368023Z",
+ "iopub.status.busy": "2026-01-23T15:42:35.367898Z",
+ "iopub.status.idle": "2026-01-23T15:42:36.325543Z",
+ "shell.execute_reply": "2026-01-23T15:42:36.325228Z"
}
},
"outputs": [
@@ -31,7 +31,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:54,443][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:42:36,316][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -56,10 +56,10 @@
"id": "cell-3",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:54.452930Z",
- "iopub.status.busy": "2026-01-23T05:08:54.452699Z",
- "iopub.status.idle": "2026-01-23T05:08:54.455491Z",
- "shell.execute_reply": "2026-01-23T05:08:54.455248Z"
+ "iopub.execute_input": "2026-01-23T15:42:36.327392Z",
+ "iopub.status.busy": "2026-01-23T15:42:36.327178Z",
+ "iopub.status.idle": "2026-01-23T15:42:36.330215Z",
+ "shell.execute_reply": "2026-01-23T15:42:36.329963Z"
}
},
"outputs": [],
@@ -94,10 +94,10 @@
"id": "cell-4",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:54.456757Z",
- "iopub.status.busy": "2026-01-23T05:08:54.456647Z",
- "iopub.status.idle": "2026-01-23T05:08:54.476357Z",
- "shell.execute_reply": "2026-01-23T05:08:54.476057Z"
+ "iopub.execute_input": "2026-01-23T15:42:36.331558Z",
+ "iopub.status.busy": "2026-01-23T15:42:36.331449Z",
+ "iopub.status.idle": "2026-01-23T15:42:36.350103Z",
+ "shell.execute_reply": "2026-01-23T15:42:36.349801Z"
}
},
"outputs": [],
@@ -117,10 +117,10 @@
"id": "cell-5",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:54.478343Z",
- "iopub.status.busy": "2026-01-23T05:08:54.478193Z",
- "iopub.status.idle": "2026-01-23T05:08:54.490438Z",
- "shell.execute_reply": "2026-01-23T05:08:54.490133Z"
+ "iopub.execute_input": "2026-01-23T15:42:36.351666Z",
+ "iopub.status.busy": "2026-01-23T15:42:36.351558Z",
+ "iopub.status.idle": "2026-01-23T15:42:36.362930Z",
+ "shell.execute_reply": "2026-01-23T15:42:36.362590Z"
}
},
"outputs": [
@@ -184,10 +184,10 @@
"id": "cell-8",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:54.492077Z",
- "iopub.status.busy": "2026-01-23T05:08:54.491947Z",
- "iopub.status.idle": "2026-01-23T05:08:54.494724Z",
- "shell.execute_reply": "2026-01-23T05:08:54.494508Z"
+ "iopub.execute_input": "2026-01-23T15:42:36.364582Z",
+ "iopub.status.busy": "2026-01-23T15:42:36.364362Z",
+ "iopub.status.idle": "2026-01-23T15:42:36.367283Z",
+ "shell.execute_reply": "2026-01-23T15:42:36.367013Z"
}
},
"outputs": [],
@@ -219,10 +219,10 @@
"id": "cell-9",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:54.496162Z",
- "iopub.status.busy": "2026-01-23T05:08:54.496035Z",
- "iopub.status.idle": "2026-01-23T05:08:54.512198Z",
- "shell.execute_reply": "2026-01-23T05:08:54.511935Z"
+ "iopub.execute_input": "2026-01-23T15:42:36.368663Z",
+ "iopub.status.busy": "2026-01-23T15:42:36.368560Z",
+ "iopub.status.idle": "2026-01-23T15:42:36.385217Z",
+ "shell.execute_reply": "2026-01-23T15:42:36.384962Z"
}
},
"outputs": [
@@ -256,10 +256,10 @@
"id": "cell-10",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:54.513489Z",
- "iopub.status.busy": "2026-01-23T05:08:54.513360Z",
- "iopub.status.idle": "2026-01-23T05:08:54.516812Z",
- "shell.execute_reply": "2026-01-23T05:08:54.516563Z"
+ "iopub.execute_input": "2026-01-23T15:42:36.386604Z",
+ "iopub.status.busy": "2026-01-23T15:42:36.386481Z",
+ "iopub.status.idle": "2026-01-23T15:42:36.389736Z",
+ "shell.execute_reply": "2026-01-23T15:42:36.389508Z"
}
},
"outputs": [],
diff --git a/src/tutorials/advanced/distributed.ipynb b/src/tutorials/advanced/distributed.ipynb
index ce26ce8f..822b9c50 100644
--- a/src/tutorials/advanced/distributed.ipynb
+++ b/src/tutorials/advanced/distributed.ipynb
@@ -21,10 +21,10 @@
"id": "cell-1",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:55.714482Z",
- "iopub.status.busy": "2026-01-23T05:08:55.714350Z",
- "iopub.status.idle": "2026-01-23T05:08:56.526867Z",
- "shell.execute_reply": "2026-01-23T05:08:56.526552Z"
+ "iopub.execute_input": "2026-01-23T15:42:37.470766Z",
+ "iopub.status.busy": "2026-01-23T15:42:37.470648Z",
+ "iopub.status.idle": "2026-01-23T15:42:38.301114Z",
+ "shell.execute_reply": "2026-01-23T15:42:38.300752Z"
}
},
"outputs": [
@@ -32,7 +32,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:56,516][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:42:38,288][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -62,10 +62,10 @@
"id": "cell-3",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:56.529099Z",
- "iopub.status.busy": "2026-01-23T05:08:56.528881Z",
- "iopub.status.idle": "2026-01-23T05:08:56.554007Z",
- "shell.execute_reply": "2026-01-23T05:08:56.553662Z"
+ "iopub.execute_input": "2026-01-23T15:42:38.303176Z",
+ "iopub.status.busy": "2026-01-23T15:42:38.302925Z",
+ "iopub.status.idle": "2026-01-23T15:42:38.329324Z",
+ "shell.execute_reply": "2026-01-23T15:42:38.328957Z"
}
},
"outputs": [
@@ -73,14 +73,14 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:56,532][WARNING]: Native type 'int' is used in attribute 'exp_id'. Consider using a core DataJoint type for better portability.\n"
+ "[2026-01-23 09:42:38,307][WARNING]: Native type 'int' is used in attribute 'exp_id'. Consider using a core DataJoint type for better portability.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:56,532][WARNING]: Native type 'int' is used in attribute 'n_samples'. Consider using a core DataJoint type for better portability.\n"
+ "[2026-01-23 09:42:38,308][WARNING]: Native type 'int' is used in attribute 'n_samples'. Consider using a core DataJoint type for better portability.\n"
]
}
],
@@ -116,10 +116,10 @@
"id": "cell-4",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:56.555586Z",
- "iopub.status.busy": "2026-01-23T05:08:56.555456Z",
- "iopub.status.idle": "2026-01-23T05:08:56.571812Z",
- "shell.execute_reply": "2026-01-23T05:08:56.571531Z"
+ "iopub.execute_input": "2026-01-23T15:42:38.331010Z",
+ "iopub.status.busy": "2026-01-23T15:42:38.330885Z",
+ "iopub.status.idle": "2026-01-23T15:42:38.348392Z",
+ "shell.execute_reply": "2026-01-23T15:42:38.348079Z"
}
},
"outputs": [
@@ -154,10 +154,10 @@
"id": "cell-6",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:56.573256Z",
- "iopub.status.busy": "2026-01-23T05:08:56.573150Z",
- "iopub.status.idle": "2026-01-23T05:08:57.205991Z",
- "shell.execute_reply": "2026-01-23T05:08:57.205580Z"
+ "iopub.execute_input": "2026-01-23T15:42:38.349905Z",
+ "iopub.status.busy": "2026-01-23T15:42:38.349805Z",
+ "iopub.status.idle": "2026-01-23T15:42:38.992881Z",
+ "shell.execute_reply": "2026-01-23T15:42:38.992010Z"
}
},
"outputs": [
@@ -165,7 +165,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:56,578][WARNING]: Native type 'integer' is used in attribute 'exp_id'. Consider using a core DataJoint type for better portability.\n"
+ "[2026-01-23 09:42:38,356][WARNING]: Native type 'integer' is used in attribute 'exp_id'. Consider using a core DataJoint type for better portability.\n"
]
},
{
@@ -181,7 +181,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 20%|██ | 1/5 [00:00<00:00, 8.80it/s]"
+ "Analysis: 20%|██ | 1/5 [00:00<00:00, 8.85it/s]"
]
},
{
@@ -189,7 +189,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 40%|████ | 2/5 [00:00<00:00, 8.70it/s]"
+ "Analysis: 40%|████ | 2/5 [00:00<00:00, 8.87it/s]"
]
},
{
@@ -197,7 +197,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 60%|██████ | 3/5 [00:00<00:00, 8.78it/s]"
+ "Analysis: 60%|██████ | 3/5 [00:00<00:00, 8.77it/s]"
]
},
{
@@ -205,7 +205,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 80%|████████ | 4/5 [00:00<00:00, 8.80it/s]"
+ "Analysis: 80%|████████ | 4/5 [00:00<00:00, 8.63it/s]"
]
},
{
@@ -213,7 +213,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 100%|██████████| 5/5 [00:00<00:00, 8.75it/s]"
+ "Analysis: 100%|██████████| 5/5 [00:00<00:00, 8.71it/s]"
]
},
{
@@ -221,7 +221,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 100%|██████████| 5/5 [00:00<00:00, 8.75it/s]"
+ "Analysis: 100%|██████████| 5/5 [00:00<00:00, 8.72it/s]"
]
},
{
@@ -261,10 +261,10 @@
"id": "cell-8",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:57.208204Z",
- "iopub.status.busy": "2026-01-23T05:08:57.207870Z",
- "iopub.status.idle": "2026-01-23T05:08:57.235707Z",
- "shell.execute_reply": "2026-01-23T05:08:57.235367Z"
+ "iopub.execute_input": "2026-01-23T15:42:38.995536Z",
+ "iopub.status.busy": "2026-01-23T15:42:38.995271Z",
+ "iopub.status.idle": "2026-01-23T15:42:39.025989Z",
+ "shell.execute_reply": "2026-01-23T15:42:39.025566Z"
}
},
"outputs": [
@@ -337,10 +337,10 @@
"id": "cell-10",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:57.237340Z",
- "iopub.status.busy": "2026-01-23T05:08:57.237204Z",
- "iopub.status.idle": "2026-01-23T05:08:58.953804Z",
- "shell.execute_reply": "2026-01-23T05:08:58.953459Z"
+ "iopub.execute_input": "2026-01-23T15:42:39.027686Z",
+ "iopub.status.busy": "2026-01-23T15:42:39.027564Z",
+ "iopub.status.idle": "2026-01-23T15:42:40.769017Z",
+ "shell.execute_reply": "2026-01-23T15:42:40.768736Z"
}
},
"outputs": [
@@ -357,7 +357,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 7%|▋ | 1/15 [00:00<00:01, 9.27it/s]"
+ "Analysis: 7%|▋ | 1/15 [00:00<00:01, 8.94it/s]"
]
},
{
@@ -365,7 +365,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 13%|█▎ | 2/15 [00:00<00:01, 8.95it/s]"
+ "Analysis: 13%|█▎ | 2/15 [00:00<00:01, 8.84it/s]"
]
},
{
@@ -373,7 +373,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 20%|██ | 3/15 [00:00<00:01, 8.84it/s]"
+ "Analysis: 20%|██ | 3/15 [00:00<00:01, 8.73it/s]"
]
},
{
@@ -381,7 +381,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 27%|██▋ | 4/15 [00:00<00:01, 8.79it/s]"
+ "Analysis: 27%|██▋ | 4/15 [00:00<00:01, 8.69it/s]"
]
},
{
@@ -389,7 +389,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 33%|███▎ | 5/15 [00:00<00:01, 8.86it/s]"
+ "Analysis: 33%|███▎ | 5/15 [00:00<00:01, 8.67it/s]"
]
},
{
@@ -397,7 +397,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 40%|████ | 6/15 [00:00<00:01, 8.84it/s]"
+ "Analysis: 40%|████ | 6/15 [00:00<00:01, 8.66it/s]"
]
},
{
@@ -405,7 +405,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 47%|████▋ | 7/15 [00:00<00:00, 8.89it/s]"
+ "Analysis: 47%|████▋ | 7/15 [00:00<00:00, 8.66it/s]"
]
},
{
@@ -413,7 +413,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 53%|█████▎ | 8/15 [00:00<00:00, 8.81it/s]"
+ "Analysis: 53%|█████▎ | 8/15 [00:00<00:00, 8.66it/s]"
]
},
{
@@ -421,7 +421,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 60%|██████ | 9/15 [00:01<00:00, 8.78it/s]"
+ "Analysis: 60%|██████ | 9/15 [00:01<00:00, 8.67it/s]"
]
},
{
@@ -429,7 +429,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 67%|██████▋ | 10/15 [00:01<00:00, 8.75it/s]"
+ "Analysis: 67%|██████▋ | 10/15 [00:01<00:00, 8.68it/s]"
]
},
{
@@ -437,7 +437,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 73%|███████▎ | 11/15 [00:01<00:00, 8.79it/s]"
+ "Analysis: 73%|███████▎ | 11/15 [00:01<00:00, 8.68it/s]"
]
},
{
@@ -445,7 +445,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 80%|████████ | 12/15 [00:01<00:00, 8.79it/s]"
+ "Analysis: 80%|████████ | 12/15 [00:01<00:00, 8.66it/s]"
]
},
{
@@ -453,7 +453,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 87%|████████▋ | 13/15 [00:01<00:00, 8.82it/s]"
+ "Analysis: 87%|████████▋ | 13/15 [00:01<00:00, 8.75it/s]"
]
},
{
@@ -461,7 +461,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 93%|█████████▎| 14/15 [00:01<00:00, 8.82it/s]"
+ "Analysis: 93%|█████████▎| 14/15 [00:01<00:00, 8.72it/s]"
]
},
{
@@ -469,7 +469,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 100%|██████████| 15/15 [00:01<00:00, 8.88it/s]"
+ "Analysis: 100%|██████████| 15/15 [00:01<00:00, 8.77it/s]"
]
},
{
@@ -477,7 +477,7 @@
"output_type": "stream",
"text": [
"\r",
- "Analysis: 100%|██████████| 15/15 [00:01<00:00, 8.84it/s]"
+ "Analysis: 100%|██████████| 15/15 [00:01<00:00, 8.71it/s]"
]
},
{
@@ -515,10 +515,10 @@
"id": "cell-13",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:58.955322Z",
- "iopub.status.busy": "2026-01-23T05:08:58.955221Z",
- "iopub.status.idle": "2026-01-23T05:08:58.997055Z",
- "shell.execute_reply": "2026-01-23T05:08:58.996761Z"
+ "iopub.execute_input": "2026-01-23T15:42:40.770565Z",
+ "iopub.status.busy": "2026-01-23T15:42:40.770445Z",
+ "iopub.status.idle": "2026-01-23T15:42:40.805810Z",
+ "shell.execute_reply": "2026-01-23T15:42:40.805543Z"
}
},
"outputs": [
@@ -570,10 +570,10 @@
"id": "cell-15",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:58.998609Z",
- "iopub.status.busy": "2026-01-23T05:08:58.998462Z",
- "iopub.status.idle": "2026-01-23T05:08:59.002833Z",
- "shell.execute_reply": "2026-01-23T05:08:59.002557Z"
+ "iopub.execute_input": "2026-01-23T15:42:40.807358Z",
+ "iopub.status.busy": "2026-01-23T15:42:40.807244Z",
+ "iopub.status.idle": "2026-01-23T15:42:40.811263Z",
+ "shell.execute_reply": "2026-01-23T15:42:40.810973Z"
}
},
"outputs": [],
diff --git a/src/tutorials/advanced/json-type.ipynb b/src/tutorials/advanced/json-type.ipynb
index 0ec4e221..b79fb0ba 100644
--- a/src/tutorials/advanced/json-type.ipynb
+++ b/src/tutorials/advanced/json-type.ipynb
@@ -34,10 +34,10 @@
"id": "setup",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:02.613565Z",
- "iopub.status.busy": "2026-01-23T05:09:02.613421Z",
- "iopub.status.idle": "2026-01-23T05:09:03.423851Z",
- "shell.execute_reply": "2026-01-23T05:09:03.423523Z"
+ "iopub.execute_input": "2026-01-23T15:42:45.475120Z",
+ "iopub.status.busy": "2026-01-23T15:42:45.474971Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.355166Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.354801Z"
}
},
"outputs": [
@@ -45,7 +45,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:09:03,416][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:42:46,347][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -69,10 +69,10 @@
"id": "definition",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.425618Z",
- "iopub.status.busy": "2026-01-23T05:09:03.425427Z",
- "iopub.status.idle": "2026-01-23T05:09:03.445158Z",
- "shell.execute_reply": "2026-01-23T05:09:03.444857Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.357293Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.357058Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.375702Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.375360Z"
}
},
"outputs": [],
@@ -103,10 +103,10 @@
"id": "insert",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.446799Z",
- "iopub.status.busy": "2026-01-23T05:09:03.446683Z",
- "iopub.status.idle": "2026-01-23T05:09:03.455993Z",
- "shell.execute_reply": "2026-01-23T05:09:03.455739Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.377591Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.377463Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.388974Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.388682Z"
}
},
"outputs": [],
@@ -154,10 +154,10 @@
"id": "preview",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.457488Z",
- "iopub.status.busy": "2026-01-23T05:09:03.457369Z",
- "iopub.status.idle": "2026-01-23T05:09:03.462843Z",
- "shell.execute_reply": "2026-01-23T05:09:03.462590Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.390584Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.390473Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.396359Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.396067Z"
}
},
"outputs": [
@@ -306,10 +306,10 @@
"id": "fetch",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.464282Z",
- "iopub.status.busy": "2026-01-23T05:09:03.464153Z",
- "iopub.status.idle": "2026-01-23T05:09:03.466545Z",
- "shell.execute_reply": "2026-01-23T05:09:03.466306Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.398142Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.397909Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.400764Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.400458Z"
}
},
"outputs": [
@@ -335,10 +335,10 @@
"id": "fetch-one",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.467623Z",
- "iopub.status.busy": "2026-01-23T05:09:03.467544Z",
- "iopub.status.idle": "2026-01-23T05:09:03.469810Z",
- "shell.execute_reply": "2026-01-23T05:09:03.469536Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.402571Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.402271Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.405438Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.405173Z"
}
},
"outputs": [
@@ -376,10 +376,10 @@
"id": "filter",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.471274Z",
- "iopub.status.busy": "2026-01-23T05:09:03.471178Z",
- "iopub.status.idle": "2026-01-23T05:09:03.474220Z",
- "shell.execute_reply": "2026-01-23T05:09:03.473963Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.406701Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.406596Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.409558Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.409299Z"
}
},
"outputs": [
@@ -422,10 +422,10 @@
"id": "update",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.475488Z",
- "iopub.status.busy": "2026-01-23T05:09:03.475405Z",
- "iopub.status.idle": "2026-01-23T05:09:03.480967Z",
- "shell.execute_reply": "2026-01-23T05:09:03.480614Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.410813Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.410707Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.416861Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.416574Z"
}
},
"outputs": [
@@ -433,7 +433,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:09:03,477][INFO]: Deleting 1 rows from \"tutorial_json\".\"equipment\"\n"
+ "[2026-01-23 09:42:46,413][INFO]: Deleting 1 rows from \"tutorial_json\".\"equipment\"\n"
]
},
{
@@ -494,10 +494,10 @@
"id": "cleanup",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:03.482622Z",
- "iopub.status.busy": "2026-01-23T05:09:03.482494Z",
- "iopub.status.idle": "2026-01-23T05:09:03.485896Z",
- "shell.execute_reply": "2026-01-23T05:09:03.485638Z"
+ "iopub.execute_input": "2026-01-23T15:42:46.418447Z",
+ "iopub.status.busy": "2026-01-23T15:42:46.418332Z",
+ "iopub.status.idle": "2026-01-23T15:42:46.421851Z",
+ "shell.execute_reply": "2026-01-23T15:42:46.421561Z"
}
},
"outputs": [],
diff --git a/src/tutorials/advanced/sql-comparison.ipynb b/src/tutorials/advanced/sql-comparison.ipynb
index 846c5d0b..edc8391e 100644
--- a/src/tutorials/advanced/sql-comparison.ipynb
+++ b/src/tutorials/advanced/sql-comparison.ipynb
@@ -27,10 +27,10 @@
"execution_count": 1,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:04.519245Z",
- "iopub.status.busy": "2026-01-23T05:09:04.519129Z",
- "iopub.status.idle": "2026-01-23T05:09:05.331705Z",
- "shell.execute_reply": "2026-01-23T05:09:05.331405Z"
+ "iopub.execute_input": "2026-01-23T15:42:47.497086Z",
+ "iopub.status.busy": "2026-01-23T15:42:47.496939Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.301974Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.301620Z"
}
},
"outputs": [
@@ -38,7 +38,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:09:05,324][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:42:48,294][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -89,10 +89,10 @@
"execution_count": 2,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.333948Z",
- "iopub.status.busy": "2026-01-23T05:09:05.333707Z",
- "iopub.status.idle": "2026-01-23T05:09:05.375109Z",
- "shell.execute_reply": "2026-01-23T05:09:05.374769Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.303972Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.303748Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.347907Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.347532Z"
}
},
"outputs": [],
@@ -152,10 +152,10 @@
"execution_count": 3,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.376864Z",
- "iopub.status.busy": "2026-01-23T05:09:05.376734Z",
- "iopub.status.idle": "2026-01-23T05:09:05.385885Z",
- "shell.execute_reply": "2026-01-23T05:09:05.385541Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.349670Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.349557Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.358697Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.358367Z"
}
},
"outputs": [],
@@ -197,10 +197,10 @@
"execution_count": 4,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.387367Z",
- "iopub.status.busy": "2026-01-23T05:09:05.387250Z",
- "iopub.status.idle": "2026-01-23T05:09:05.392764Z",
- "shell.execute_reply": "2026-01-23T05:09:05.392536Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.360422Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.360296Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.365772Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.365546Z"
}
},
"outputs": [
@@ -346,10 +346,10 @@
"execution_count": 5,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.394066Z",
- "iopub.status.busy": "2026-01-23T05:09:05.393968Z",
- "iopub.status.idle": "2026-01-23T05:09:05.397841Z",
- "shell.execute_reply": "2026-01-23T05:09:05.397561Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.367126Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.367033Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.371019Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.370763Z"
}
},
"outputs": [
@@ -485,10 +485,10 @@
"execution_count": 6,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.399134Z",
- "iopub.status.busy": "2026-01-23T05:09:05.399041Z",
- "iopub.status.idle": "2026-01-23T05:09:05.402883Z",
- "shell.execute_reply": "2026-01-23T05:09:05.402616Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.372596Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.372487Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.377092Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.376821Z"
}
},
"outputs": [
@@ -621,62 +621,143 @@
"execution_count": 7,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.404379Z",
- "iopub.status.busy": "2026-01-23T05:09:05.404270Z",
- "iopub.status.idle": "2026-01-23T05:09:05.627838Z",
- "shell.execute_reply": "2026-01-23T05:09:05.627551Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.378458Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.378357Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.382767Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.382484Z"
}
},
"outputs": [
{
- "ename": "UnknownAttributeError",
- "evalue": "column \"2024-06-10\" does not exist\nLINE 1: ...sql_comparison\".\"session\" WHERE ( (session_date > \"2024-06-1...\n ^\n",
- "output_type": "error",
- "traceback": [
- "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
- "\u001b[0;31mUndefinedColumn\u001b[0m Traceback (most recent call last)",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:364\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 363\u001b[0m warnings\u001b[38;5;241m.\u001b[39msimplefilter(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mignore\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m--> 364\u001b[0m \u001b[43mcursor\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mexecute\u001b[49m\u001b[43m(\u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n",
- "\u001b[0;31mUndefinedColumn\u001b[0m: column \"2024-06-10\" does not exist\nLINE 1: ...sql_comparison\".\"session\" WHERE ( (session_date > \"2024-06-1...\n ^\n",
- "\nDuring handling of the above exception, another exception occurred:\n",
- "\u001b[0;31mUnknownAttributeError\u001b[0m Traceback (most recent call last)",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/core/formatters.py:770\u001b[0m, in \u001b[0;36mPlainTextFormatter.__call__\u001b[0;34m(self, obj)\u001b[0m\n\u001b[1;32m 763\u001b[0m stream \u001b[38;5;241m=\u001b[39m StringIO()\n\u001b[1;32m 764\u001b[0m printer \u001b[38;5;241m=\u001b[39m pretty\u001b[38;5;241m.\u001b[39mRepresentationPrinter(stream, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mverbose,\n\u001b[1;32m 765\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmax_width, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mnewline,\n\u001b[1;32m 766\u001b[0m max_seq_length\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmax_seq_length,\n\u001b[1;32m 767\u001b[0m singleton_pprinters\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39msingleton_printers,\n\u001b[1;32m 768\u001b[0m type_pprinters\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtype_printers,\n\u001b[1;32m 769\u001b[0m deferred_pprinters\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mdeferred_printers)\n\u001b[0;32m--> 770\u001b[0m \u001b[43mprinter\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpretty\u001b[49m\u001b[43m(\u001b[49m\u001b[43mobj\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 771\u001b[0m printer\u001b[38;5;241m.\u001b[39mflush()\n\u001b[1;32m 772\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m stream\u001b[38;5;241m.\u001b[39mgetvalue()\n",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/lib/pretty.py:419\u001b[0m, in \u001b[0;36mRepresentationPrinter.pretty\u001b[0;34m(self, obj)\u001b[0m\n\u001b[1;32m 408\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m meth(obj, \u001b[38;5;28mself\u001b[39m, cycle)\n\u001b[1;32m 409\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m (\n\u001b[1;32m 410\u001b[0m \u001b[38;5;28mcls\u001b[39m \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mobject\u001b[39m\n\u001b[1;32m 411\u001b[0m \u001b[38;5;66;03m# check if cls defines __repr__\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 417\u001b[0m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;28mcallable\u001b[39m(_safe_getattr(\u001b[38;5;28mcls\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m__repr__\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;28;01mNone\u001b[39;00m))\n\u001b[1;32m 418\u001b[0m ):\n\u001b[0;32m--> 419\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43m_repr_pprint\u001b[49m\u001b[43m(\u001b[49m\u001b[43mobj\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mcycle\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 421\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m _default_pprint(obj, \u001b[38;5;28mself\u001b[39m, cycle)\n\u001b[1;32m 422\u001b[0m \u001b[38;5;28;01mfinally\u001b[39;00m:\n",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/lib/pretty.py:794\u001b[0m, in \u001b[0;36m_repr_pprint\u001b[0;34m(obj, p, cycle)\u001b[0m\n\u001b[1;32m 792\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124;03m\"\"\"A pprint that just redirects to the normal repr function.\"\"\"\u001b[39;00m\n\u001b[1;32m 793\u001b[0m \u001b[38;5;66;03m# Find newlines and replace them with p.break_()\u001b[39;00m\n\u001b[0;32m--> 794\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mrepr\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43mobj\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 795\u001b[0m lines \u001b[38;5;241m=\u001b[39m output\u001b[38;5;241m.\u001b[39msplitlines()\n\u001b[1;32m 796\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m p\u001b[38;5;241m.\u001b[39mgroup():\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:956\u001b[0m, in \u001b[0;36mQueryExpression.__repr__\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 948\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21m__repr__\u001b[39m(\u001b[38;5;28mself\u001b[39m):\n\u001b[1;32m 949\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 950\u001b[0m \u001b[38;5;124;03m returns the string representation of a QueryExpression object e.g. ``str(q1)``.\u001b[39;00m\n\u001b[1;32m 951\u001b[0m \n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 954\u001b[0m \u001b[38;5;124;03m :rtype: str\u001b[39;00m\n\u001b[1;32m 955\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 956\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28msuper\u001b[39m()\u001b[38;5;241m.\u001b[39m\u001b[38;5;21m__repr__\u001b[39m() \u001b[38;5;28;01mif\u001b[39;00m config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mloglevel\u001b[39m\u001b[38;5;124m\"\u001b[39m]\u001b[38;5;241m.\u001b[39mlower() \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdebug\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpreview\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:960\u001b[0m, in \u001b[0;36mQueryExpression.preview\u001b[0;34m(self, limit, width)\u001b[0m\n\u001b[1;32m 958\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21mpreview\u001b[39m(\u001b[38;5;28mself\u001b[39m, limit\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m, width\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[1;32m 959\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\":return: a string of preview of the contents of the query.\"\"\"\u001b[39;00m\n\u001b[0;32m--> 960\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mpreview\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mlimit\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mwidth\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/preview.py:53\u001b[0m, in \u001b[0;36mpreview\u001b[0;34m(query_expression, limit, width)\u001b[0m\n\u001b[1;32m 51\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m width \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 52\u001b[0m width \u001b[38;5;241m=\u001b[39m config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdisplay.width\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n\u001b[0;32m---> 53\u001b[0m tuples \u001b[38;5;241m=\u001b[39m \u001b[43mrel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mto_arrays\u001b[49m\u001b[43m(\u001b[49m\u001b[43mlimit\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mlimit\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m1\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 54\u001b[0m has_more \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlen\u001b[39m(tuples) \u001b[38;5;241m>\u001b[39m limit\n\u001b[1;32m 55\u001b[0m tuples \u001b[38;5;241m=\u001b[39m tuples[:limit]\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:826\u001b[0m, in \u001b[0;36mQueryExpression.to_arrays\u001b[0;34m(self, include_key, order_by, limit, offset, squeeze, *attrs)\u001b[0m\n\u001b[1;32m 823\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 824\u001b[0m \u001b[38;5;66;03m# Fetch all columns as structured array\u001b[39;00m\n\u001b[1;32m 825\u001b[0m get \u001b[38;5;241m=\u001b[39m partial(decode_attribute, squeeze\u001b[38;5;241m=\u001b[39msqueeze)\n\u001b[0;32m--> 826\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[43mexpr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcursor\u001b[49m\u001b[43m(\u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mFalse\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 827\u001b[0m rows \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlist\u001b[39m(cursor\u001b[38;5;241m.\u001b[39mfetchall())\n\u001b[1;32m 829\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m rows:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:946\u001b[0m, in \u001b[0;36mQueryExpression.cursor\u001b[0;34m(self, as_dict)\u001b[0m\n\u001b[1;32m 944\u001b[0m sql \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmake_sql()\n\u001b[1;32m 945\u001b[0m logger\u001b[38;5;241m.\u001b[39mdebug(sql)\n\u001b[0;32m--> 946\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mconnection\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mquery\u001b[49m\u001b[43m(\u001b[49m\u001b[43msql\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mas_dict\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:425\u001b[0m, in \u001b[0;36mConnection.query\u001b[0;34m(self, query, args, as_dict, suppress_warnings, reconnect)\u001b[0m\n\u001b[1;32m 423\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter\u001b[38;5;241m.\u001b[39mget_cursor(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_conn, as_dict\u001b[38;5;241m=\u001b[39mas_dict)\n\u001b[1;32m 424\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 425\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_execute_query\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcursor\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43msuppress_warnings\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 426\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m errors\u001b[38;5;241m.\u001b[39mLostConnectionError:\n\u001b[1;32m 427\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m reconnect:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:366\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 364\u001b[0m cursor\u001b[38;5;241m.\u001b[39mexecute(query, args)\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n\u001b[0;32m--> 366\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m translate_query_error(err, query, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter)\n",
- "\u001b[0;31mUnknownAttributeError\u001b[0m: column \"2024-06-10\" does not exist\nLINE 1: ...sql_comparison\".\"session\" WHERE ( (session_date > \"2024-06-1...\n ^\n"
- ]
- },
- {
- "ename": "UnknownAttributeError",
- "evalue": "column \"2024-06-10\" does not exist\nLINE 1: ...sql_comparison\".\"session\" WHERE ( (session_date > \"2024-06-1...\n ^\n",
- "output_type": "error",
- "traceback": [
- "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
- "\u001b[0;31mUndefinedColumn\u001b[0m Traceback (most recent call last)",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:364\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 363\u001b[0m warnings\u001b[38;5;241m.\u001b[39msimplefilter(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mignore\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m--> 364\u001b[0m \u001b[43mcursor\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mexecute\u001b[49m\u001b[43m(\u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n",
- "\u001b[0;31mUndefinedColumn\u001b[0m: column \"2024-06-10\" does not exist\nLINE 1: ...sql_comparison\".\"session\" WHERE ( (session_date > \"2024-06-1...\n ^\n",
- "\nDuring handling of the above exception, another exception occurred:\n",
- "\u001b[0;31mUnknownAttributeError\u001b[0m Traceback (most recent call last)",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/core/formatters.py:406\u001b[0m, in \u001b[0;36mBaseFormatter.__call__\u001b[0;34m(self, obj)\u001b[0m\n\u001b[1;32m 404\u001b[0m method \u001b[38;5;241m=\u001b[39m get_real_method(obj, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mprint_method)\n\u001b[1;32m 405\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m method \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[0;32m--> 406\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmethod\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 407\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m 408\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:964\u001b[0m, in \u001b[0;36mQueryExpression._repr_html_\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 962\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21m_repr_html_\u001b[39m(\u001b[38;5;28mself\u001b[39m):\n\u001b[1;32m 963\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\":return: HTML to display table in Jupyter notebook.\"\"\"\u001b[39;00m\n\u001b[0;32m--> 964\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mrepr_html\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/preview.py:111\u001b[0m, in \u001b[0;36mrepr_html\u001b[0;34m(query_expression)\u001b[0m\n\u001b[1;32m 109\u001b[0m object_fields \u001b[38;5;241m=\u001b[39m []\n\u001b[1;32m 110\u001b[0m info \u001b[38;5;241m=\u001b[39m heading\u001b[38;5;241m.\u001b[39mtable_status\n\u001b[0;32m--> 111\u001b[0m tuples \u001b[38;5;241m=\u001b[39m \u001b[43mrel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mto_arrays\u001b[49m\u001b[43m(\u001b[49m\u001b[43mlimit\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mconfig\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mdisplay.limit\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m]\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m1\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 112\u001b[0m has_more \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlen\u001b[39m(tuples) \u001b[38;5;241m>\u001b[39m config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdisplay.limit\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n\u001b[1;32m 113\u001b[0m tuples \u001b[38;5;241m=\u001b[39m tuples[\u001b[38;5;241m0\u001b[39m : config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdisplay.limit\u001b[39m\u001b[38;5;124m\"\u001b[39m]]\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:826\u001b[0m, in \u001b[0;36mQueryExpression.to_arrays\u001b[0;34m(self, include_key, order_by, limit, offset, squeeze, *attrs)\u001b[0m\n\u001b[1;32m 823\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 824\u001b[0m \u001b[38;5;66;03m# Fetch all columns as structured array\u001b[39;00m\n\u001b[1;32m 825\u001b[0m get \u001b[38;5;241m=\u001b[39m partial(decode_attribute, squeeze\u001b[38;5;241m=\u001b[39msqueeze)\n\u001b[0;32m--> 826\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[43mexpr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcursor\u001b[49m\u001b[43m(\u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mFalse\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 827\u001b[0m rows \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlist\u001b[39m(cursor\u001b[38;5;241m.\u001b[39mfetchall())\n\u001b[1;32m 829\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m rows:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:946\u001b[0m, in \u001b[0;36mQueryExpression.cursor\u001b[0;34m(self, as_dict)\u001b[0m\n\u001b[1;32m 944\u001b[0m sql \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmake_sql()\n\u001b[1;32m 945\u001b[0m logger\u001b[38;5;241m.\u001b[39mdebug(sql)\n\u001b[0;32m--> 946\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mconnection\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mquery\u001b[49m\u001b[43m(\u001b[49m\u001b[43msql\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mas_dict\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:425\u001b[0m, in \u001b[0;36mConnection.query\u001b[0;34m(self, query, args, as_dict, suppress_warnings, reconnect)\u001b[0m\n\u001b[1;32m 423\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter\u001b[38;5;241m.\u001b[39mget_cursor(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_conn, as_dict\u001b[38;5;241m=\u001b[39mas_dict)\n\u001b[1;32m 424\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 425\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_execute_query\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcursor\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43msuppress_warnings\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 426\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m errors\u001b[38;5;241m.\u001b[39mLostConnectionError:\n\u001b[1;32m 427\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m reconnect:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:366\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 364\u001b[0m cursor\u001b[38;5;241m.\u001b[39mexecute(query, args)\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n\u001b[0;32m--> 366\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m translate_query_error(err, query, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter)\n",
- "\u001b[0;31mUnknownAttributeError\u001b[0m: column \"2024-06-10\" does not exist\nLINE 1: ...sql_comparison\".\"session\" WHERE ( (session_date > \"2024-06-1...\n ^\n"
- ]
+ "data": {
+ "text/html": [
+ "\n",
+ " \n",
+ " \n",
+ " \n",
+ " None\n",
+ " \n",
+ "
\n",
+ " | | | | |
\n",
+ " | 1 | \n",
+ "2024-06-15 | \n",
+ "1 | \n",
+ "Follow-up |
| 3 | \n",
+ "2024-06-20 | \n",
+ "2 | \n",
+ "Rat study |
\n",
+ "
\n",
+ " \n",
+ "
Total: 2
\n",
+ " "
+ ],
+ "text/plain": [
+ "*subject_id *session_date researcher_id notes \n",
+ "+------------+ +------------+ +------------+ +-----------+\n",
+ "1 2024-06-15 1 Follow-up \n",
+ "3 2024-06-20 2 Rat study \n",
+ " (Total: 2)"
+ ]
+ },
+ "execution_count": 7,
+ "metadata": {},
+ "output_type": "execute_result"
}
],
"source": [
"# SQL: SELECT * FROM Session WHERE session_date > '2024-06-10'\n",
- "Session & 'session_date > \"2024-06-10\"'"
+ "Session & \"session_date > '2024-06-10'\""
]
},
{
@@ -701,10 +782,10 @@
"execution_count": 8,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.629353Z",
- "iopub.status.busy": "2026-01-23T05:09:05.629192Z",
- "iopub.status.idle": "2026-01-23T05:09:05.637229Z",
- "shell.execute_reply": "2026-01-23T05:09:05.636978Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.384108Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.384001Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.387958Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.387734Z"
}
},
"outputs": [
@@ -853,10 +934,10 @@
"execution_count": 9,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.638695Z",
- "iopub.status.busy": "2026-01-23T05:09:05.638579Z",
- "iopub.status.idle": "2026-01-23T05:09:05.645421Z",
- "shell.execute_reply": "2026-01-23T05:09:05.645155Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.389244Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.389144Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.394211Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.393869Z"
}
},
"outputs": [
@@ -1018,10 +1099,10 @@
"execution_count": 10,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.646968Z",
- "iopub.status.busy": "2026-01-23T05:09:05.646845Z",
- "iopub.status.idle": "2026-01-23T05:09:05.653241Z",
- "shell.execute_reply": "2026-01-23T05:09:05.652779Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.395534Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.395431Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.399716Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.399467Z"
}
},
"outputs": [
@@ -1201,10 +1282,10 @@
"execution_count": 11,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.655033Z",
- "iopub.status.busy": "2026-01-23T05:09:05.654914Z",
- "iopub.status.idle": "2026-01-23T05:09:05.666546Z",
- "shell.execute_reply": "2026-01-23T05:09:05.666296Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.401542Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.401332Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.409898Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.409624Z"
}
},
"outputs": [
@@ -1340,10 +1421,10 @@
"execution_count": 12,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.667929Z",
- "iopub.status.busy": "2026-01-23T05:09:05.667796Z",
- "iopub.status.idle": "2026-01-23T05:09:05.676907Z",
- "shell.execute_reply": "2026-01-23T05:09:05.676641Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.411212Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.411104Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.419362Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.419147Z"
}
},
"outputs": [
@@ -1489,10 +1570,10 @@
"execution_count": 13,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.678335Z",
- "iopub.status.busy": "2026-01-23T05:09:05.678229Z",
- "iopub.status.idle": "2026-01-23T05:09:05.682662Z",
- "shell.execute_reply": "2026-01-23T05:09:05.682442Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.420655Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.420559Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.424435Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.424215Z"
}
},
"outputs": [
@@ -1655,10 +1736,10 @@
"execution_count": 14,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.683923Z",
- "iopub.status.busy": "2026-01-23T05:09:05.683841Z",
- "iopub.status.idle": "2026-01-23T05:09:05.687974Z",
- "shell.execute_reply": "2026-01-23T05:09:05.687759Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.425581Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.425488Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.429549Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.429331Z"
}
},
"outputs": [
@@ -1817,10 +1898,10 @@
"execution_count": 15,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.689268Z",
- "iopub.status.busy": "2026-01-23T05:09:05.689163Z",
- "iopub.status.idle": "2026-01-23T05:09:05.692874Z",
- "shell.execute_reply": "2026-01-23T05:09:05.692658Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.430804Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.430705Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.434572Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.434323Z"
}
},
"outputs": [
@@ -1954,10 +2035,10 @@
"execution_count": 16,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.694019Z",
- "iopub.status.busy": "2026-01-23T05:09:05.693933Z",
- "iopub.status.idle": "2026-01-23T05:09:05.697559Z",
- "shell.execute_reply": "2026-01-23T05:09:05.697229Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.435921Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.435811Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.439870Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.439662Z"
}
},
"outputs": [
@@ -2090,10 +2171,10 @@
"execution_count": 17,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.698739Z",
- "iopub.status.busy": "2026-01-23T05:09:05.698654Z",
- "iopub.status.idle": "2026-01-23T05:09:05.701995Z",
- "shell.execute_reply": "2026-01-23T05:09:05.701772Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.441368Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.441270Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.445105Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.444855Z"
}
},
"outputs": [
@@ -2225,10 +2306,10 @@
"execution_count": 18,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.703208Z",
- "iopub.status.busy": "2026-01-23T05:09:05.703121Z",
- "iopub.status.idle": "2026-01-23T05:09:05.706953Z",
- "shell.execute_reply": "2026-01-23T05:09:05.706720Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.446377Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.446270Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.449850Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.449636Z"
}
},
"outputs": [
@@ -2368,10 +2449,10 @@
"execution_count": 19,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.708273Z",
- "iopub.status.busy": "2026-01-23T05:09:05.708187Z",
- "iopub.status.idle": "2026-01-23T05:09:05.712784Z",
- "shell.execute_reply": "2026-01-23T05:09:05.712588Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.451030Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.450928Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.455082Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.454850Z"
}
},
"outputs": [
@@ -2553,10 +2634,10 @@
"execution_count": 20,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.714027Z",
- "iopub.status.busy": "2026-01-23T05:09:05.713945Z",
- "iopub.status.idle": "2026-01-23T05:09:05.722831Z",
- "shell.execute_reply": "2026-01-23T05:09:05.722558Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.456373Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.456274Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.465329Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.465026Z"
}
},
"outputs": [],
@@ -2580,10 +2661,10 @@
"execution_count": 21,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.724301Z",
- "iopub.status.busy": "2026-01-23T05:09:05.724186Z",
- "iopub.status.idle": "2026-01-23T05:09:05.775673Z",
- "shell.execute_reply": "2026-01-23T05:09:05.775231Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.466736Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.466629Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.514904Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.514544Z"
}
},
"outputs": [
@@ -2600,7 +2681,7 @@
"output_type": "stream",
"text": [
"\r",
- "SessionAnalysis: 100%|██████████| 4/4 [00:00<00:00, 422.56it/s]"
+ "SessionAnalysis: 100%|██████████| 4/4 [00:00<00:00, 458.77it/s]"
]
},
{
@@ -2760,10 +2841,10 @@
"execution_count": 22,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.777362Z",
- "iopub.status.busy": "2026-01-23T05:09:05.777214Z",
- "iopub.status.idle": "2026-01-23T05:09:05.779031Z",
- "shell.execute_reply": "2026-01-23T05:09:05.778800Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.516684Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.516486Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.518568Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.518306Z"
}
},
"outputs": [],
@@ -2786,10 +2867,10 @@
"execution_count": 23,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:05.780257Z",
- "iopub.status.busy": "2026-01-23T05:09:05.780172Z",
- "iopub.status.idle": "2026-01-23T05:09:06.213164Z",
- "shell.execute_reply": "2026-01-23T05:09:06.212749Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.519911Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.519807Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.991227Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.990845Z"
}
},
"outputs": [
@@ -2870,7 +2951,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 23,
@@ -2926,10 +3007,10 @@
"execution_count": 24,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:06.215158Z",
- "iopub.status.busy": "2026-01-23T05:09:06.215002Z",
- "iopub.status.idle": "2026-01-23T05:09:06.218371Z",
- "shell.execute_reply": "2026-01-23T05:09:06.217916Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.993215Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.993036Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.996103Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.995857Z"
}
},
"outputs": [
@@ -2952,10 +3033,10 @@
"execution_count": 25,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:06.220152Z",
- "iopub.status.busy": "2026-01-23T05:09:06.219996Z",
- "iopub.status.idle": "2026-01-23T05:09:06.221725Z",
- "shell.execute_reply": "2026-01-23T05:09:06.221485Z"
+ "iopub.execute_input": "2026-01-23T15:42:48.997518Z",
+ "iopub.status.busy": "2026-01-23T15:42:48.997407Z",
+ "iopub.status.idle": "2026-01-23T15:42:48.999040Z",
+ "shell.execute_reply": "2026-01-23T15:42:48.998815Z"
}
},
"outputs": [],
@@ -2992,10 +3073,10 @@
"execution_count": 26,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:09:06.223120Z",
- "iopub.status.busy": "2026-01-23T05:09:06.223000Z",
- "iopub.status.idle": "2026-01-23T05:09:06.229574Z",
- "shell.execute_reply": "2026-01-23T05:09:06.229303Z"
+ "iopub.execute_input": "2026-01-23T15:42:49.000206Z",
+ "iopub.status.busy": "2026-01-23T15:42:49.000127Z",
+ "iopub.status.idle": "2026-01-23T15:42:49.014036Z",
+ "shell.execute_reply": "2026-01-23T15:42:49.013728Z"
}
},
"outputs": [],
diff --git a/src/tutorials/basics/01-first-pipeline.ipynb b/src/tutorials/basics/01-first-pipeline.ipynb
index 7e49defa..ee49b254 100644
--- a/src/tutorials/basics/01-first-pipeline.ipynb
+++ b/src/tutorials/basics/01-first-pipeline.ipynb
@@ -34,10 +34,10 @@
"execution_count": 1,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:02.361791Z",
- "iopub.status.busy": "2026-01-23T05:08:02.361456Z",
- "iopub.status.idle": "2026-01-23T05:08:03.674778Z",
- "shell.execute_reply": "2026-01-23T05:08:03.674425Z"
+ "iopub.execute_input": "2026-01-23T15:41:42.843223Z",
+ "iopub.status.busy": "2026-01-23T15:41:42.843111Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.103844Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.103507Z"
}
},
"outputs": [
@@ -45,7 +45,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:03,666][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:41:44,095][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -92,10 +92,10 @@
"execution_count": 2,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:03.694575Z",
- "iopub.status.busy": "2026-01-23T05:08:03.694192Z",
- "iopub.status.idle": "2026-01-23T05:08:03.712173Z",
- "shell.execute_reply": "2026-01-23T05:08:03.711687Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.122426Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.122171Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.142823Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.142505Z"
}
},
"outputs": [],
@@ -115,10 +115,10 @@
"execution_count": 3,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:03.714324Z",
- "iopub.status.busy": "2026-01-23T05:08:03.714038Z",
- "iopub.status.idle": "2026-01-23T05:08:03.724584Z",
- "shell.execute_reply": "2026-01-23T05:08:03.724258Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.144542Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.144416Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.154236Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.153938Z"
}
},
"outputs": [],
@@ -148,10 +148,10 @@
"execution_count": 4,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:03.726143Z",
- "iopub.status.busy": "2026-01-23T05:08:03.726030Z",
- "iopub.status.idle": "2026-01-23T05:08:03.747887Z",
- "shell.execute_reply": "2026-01-23T05:08:03.747533Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.155664Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.155552Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.176296Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.175992Z"
}
},
"outputs": [],
@@ -184,10 +184,10 @@
"execution_count": 5,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:03.749707Z",
- "iopub.status.busy": "2026-01-23T05:08:03.749576Z",
- "iopub.status.idle": "2026-01-23T05:08:03.767049Z",
- "shell.execute_reply": "2026-01-23T05:08:03.766725Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.177846Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.177749Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.192907Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.192590Z"
}
},
"outputs": [],
@@ -198,7 +198,7 @@
" -> Session\n",
" recording_id : int16\n",
" ---\n",
- " duration : float32 # recording duration (seconds)\n",
+ " duration : decimal(5,1) # recording duration (seconds)\n",
" quality : enum('good', 'fair', 'poor')\n",
" \"\"\""
]
@@ -217,10 +217,10 @@
"execution_count": 6,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:03.768719Z",
- "iopub.status.busy": "2026-01-23T05:08:03.768613Z",
- "iopub.status.idle": "2026-01-23T05:08:04.246649Z",
- "shell.execute_reply": "2026-01-23T05:08:04.246180Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.194481Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.194353Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.669531Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.669004Z"
}
},
"outputs": [
@@ -304,7 +304,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 6,
@@ -340,10 +340,10 @@
"execution_count": 7,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.250341Z",
- "iopub.status.busy": "2026-01-23T05:08:04.250174Z",
- "iopub.status.idle": "2026-01-23T05:08:04.256151Z",
- "shell.execute_reply": "2026-01-23T05:08:04.255863Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.671611Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.671427Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.679291Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.678971Z"
}
},
"outputs": [],
@@ -371,10 +371,10 @@
"execution_count": 8,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.257467Z",
- "iopub.status.busy": "2026-01-23T05:08:04.257363Z",
- "iopub.status.idle": "2026-01-23T05:08:04.261237Z",
- "shell.execute_reply": "2026-01-23T05:08:04.260924Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.681075Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.680934Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.685919Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.685542Z"
}
},
"outputs": [],
@@ -395,10 +395,10 @@
"execution_count": 9,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.262371Z",
- "iopub.status.busy": "2026-01-23T05:08:04.262286Z",
- "iopub.status.idle": "2026-01-23T05:08:04.266244Z",
- "shell.execute_reply": "2026-01-23T05:08:04.265911Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.687758Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.687623Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.692217Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.691882Z"
}
},
"outputs": [],
@@ -430,10 +430,10 @@
"execution_count": 10,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.267596Z",
- "iopub.status.busy": "2026-01-23T05:08:04.267502Z",
- "iopub.status.idle": "2026-01-23T05:08:04.275471Z",
- "shell.execute_reply": "2026-01-23T05:08:04.275198Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.693874Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.693755Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.702192Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.701907Z"
}
},
"outputs": [
@@ -577,10 +577,10 @@
"execution_count": 11,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.276702Z",
- "iopub.status.busy": "2026-01-23T05:08:04.276607Z",
- "iopub.status.idle": "2026-01-23T05:08:04.283140Z",
- "shell.execute_reply": "2026-01-23T05:08:04.282891Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.703641Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.703502Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.711230Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.710891Z"
}
},
"outputs": [
@@ -753,10 +753,10 @@
"execution_count": 12,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.284391Z",
- "iopub.status.busy": "2026-01-23T05:08:04.284293Z",
- "iopub.status.idle": "2026-01-23T05:08:04.290434Z",
- "shell.execute_reply": "2026-01-23T05:08:04.290172Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.712818Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.712698Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.719154Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.718910Z"
}
},
"outputs": [
@@ -897,10 +897,10 @@
"execution_count": 13,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.291719Z",
- "iopub.status.busy": "2026-01-23T05:08:04.291625Z",
- "iopub.status.idle": "2026-01-23T05:08:04.298553Z",
- "shell.execute_reply": "2026-01-23T05:08:04.298312Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.721070Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.720922Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.729108Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.728778Z"
}
},
"outputs": [
@@ -1051,10 +1051,10 @@
"execution_count": 14,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.299793Z",
- "iopub.status.busy": "2026-01-23T05:08:04.299715Z",
- "iopub.status.idle": "2026-01-23T05:08:04.306586Z",
- "shell.execute_reply": "2026-01-23T05:08:04.306345Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.730628Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.730511Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.737264Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.736963Z"
}
},
"outputs": [
@@ -1204,10 +1204,10 @@
"execution_count": 15,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.308004Z",
- "iopub.status.busy": "2026-01-23T05:08:04.307910Z",
- "iopub.status.idle": "2026-01-23T05:08:04.323039Z",
- "shell.execute_reply": "2026-01-23T05:08:04.322753Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.738735Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.738619Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.758654Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.758114Z"
}
},
"outputs": [
@@ -1343,10 +1343,10 @@
"execution_count": 16,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.324408Z",
- "iopub.status.busy": "2026-01-23T05:08:04.324323Z",
- "iopub.status.idle": "2026-01-23T05:08:04.337320Z",
- "shell.execute_reply": "2026-01-23T05:08:04.337024Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.760567Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.760293Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.774545Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.774243Z"
}
},
"outputs": [
@@ -1481,8 +1481,8 @@
"*subject_id *session_date *recording_id duration_min \n",
"+------------+ +------------+ +------------+ +------------+\n",
"1 2024-06-01 1 5.008333333333\n",
- "1 2024-06-01 2 7.5 \n",
- "1 2024-06-15 1 10.0 \n",
+ "1 2024-06-01 2 7.500000000000\n",
+ "1 2024-06-15 1 10.00000000000\n",
"2 2024-06-10 1 5.833333333333\n",
" (Total: 4)"
]
@@ -1511,10 +1511,10 @@
"execution_count": 17,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.338763Z",
- "iopub.status.busy": "2026-01-23T05:08:04.338675Z",
- "iopub.status.idle": "2026-01-23T05:08:04.342761Z",
- "shell.execute_reply": "2026-01-23T05:08:04.342476Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.776562Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.776410Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.781931Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.781654Z"
}
},
"outputs": [
@@ -1677,10 +1677,10 @@
"execution_count": 18,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.343967Z",
- "iopub.status.busy": "2026-01-23T05:08:04.343880Z",
- "iopub.status.idle": "2026-01-23T05:08:04.350079Z",
- "shell.execute_reply": "2026-01-23T05:08:04.349819Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.783514Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.783296Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.790395Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.790116Z"
}
},
"outputs": [
@@ -1861,10 +1861,10 @@
"execution_count": 19,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.351442Z",
- "iopub.status.busy": "2026-01-23T05:08:04.351362Z",
- "iopub.status.idle": "2026-01-23T05:08:04.355778Z",
- "shell.execute_reply": "2026-01-23T05:08:04.355549Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.792040Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.791857Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.797096Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.796817Z"
}
},
"outputs": [
@@ -2003,10 +2003,10 @@
"execution_count": 20,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.356947Z",
- "iopub.status.busy": "2026-01-23T05:08:04.356869Z",
- "iopub.status.idle": "2026-01-23T05:08:04.360684Z",
- "shell.execute_reply": "2026-01-23T05:08:04.360451Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.798629Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.798431Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.803643Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.803279Z"
}
},
"outputs": [
@@ -2139,10 +2139,10 @@
"execution_count": 21,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.361871Z",
- "iopub.status.busy": "2026-01-23T05:08:04.361788Z",
- "iopub.status.idle": "2026-01-23T05:08:04.365046Z",
- "shell.execute_reply": "2026-01-23T05:08:04.364803Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.805463Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.805337Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.809914Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.809641Z"
}
},
"outputs": [
@@ -2239,7 +2239,7 @@
" avg_duration
\n",
" calculated attribute\n",
" \n",
- " | 425.125 |
\n",
+ " | 425.1250000000000000 |
\n",
" \n",
" \n",
" Total: 1
\n",
@@ -2248,7 +2248,7 @@
"text/plain": [
"avg_duration \n",
"+------------+\n",
- "425.125 \n",
+ "425.1250000000\n",
" (Total: 1)"
]
},
@@ -2276,10 +2276,10 @@
"execution_count": 22,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.366219Z",
- "iopub.status.busy": "2026-01-23T05:08:04.366141Z",
- "iopub.status.idle": "2026-01-23T05:08:04.374191Z",
- "shell.execute_reply": "2026-01-23T05:08:04.373962Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.811557Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.811429Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.820217Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.819935Z"
}
},
"outputs": [
@@ -2444,10 +2444,10 @@
"execution_count": 23,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.375378Z",
- "iopub.status.busy": "2026-01-23T05:08:04.375305Z",
- "iopub.status.idle": "2026-01-23T05:08:04.379492Z",
- "shell.execute_reply": "2026-01-23T05:08:04.379279Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.821834Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.821700Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.828832Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.828506Z"
}
},
"outputs": [
@@ -2590,10 +2590,10 @@
"execution_count": 24,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.380709Z",
- "iopub.status.busy": "2026-01-23T05:08:04.380636Z",
- "iopub.status.idle": "2026-01-23T05:08:04.383304Z",
- "shell.execute_reply": "2026-01-23T05:08:04.383094Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.830532Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.830403Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.833695Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.833318Z"
}
},
"outputs": [
@@ -2629,10 +2629,10 @@
"execution_count": 25,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.384420Z",
- "iopub.status.busy": "2026-01-23T05:08:04.384346Z",
- "iopub.status.idle": "2026-01-23T05:08:04.387800Z",
- "shell.execute_reply": "2026-01-23T05:08:04.387579Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.835186Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.835087Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.838704Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.838402Z"
}
},
"outputs": [
@@ -2640,7 +2640,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Good recording durations: [300.5 450. 350. ]\n"
+ "Good recording durations: [Decimal('300.5') Decimal('450.0') Decimal('350.0')]\n"
]
}
],
@@ -2655,10 +2655,10 @@
"execution_count": 26,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.388946Z",
- "iopub.status.busy": "2026-01-23T05:08:04.388833Z",
- "iopub.status.idle": "2026-01-23T05:08:04.391534Z",
- "shell.execute_reply": "2026-01-23T05:08:04.391298Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.840081Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.839986Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.843028Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.842734Z"
}
},
"outputs": [
@@ -2690,10 +2690,10 @@
"execution_count": 27,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.392742Z",
- "iopub.status.busy": "2026-01-23T05:08:04.392665Z",
- "iopub.status.idle": "2026-01-23T05:08:04.394186Z",
- "shell.execute_reply": "2026-01-23T05:08:04.393975Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.844563Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.844438Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.846424Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.846118Z"
}
},
"outputs": [],
@@ -2739,10 +2739,10 @@
"execution_count": 28,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:04.395342Z",
- "iopub.status.busy": "2026-01-23T05:08:04.395264Z",
- "iopub.status.idle": "2026-01-23T05:08:04.402268Z",
- "shell.execute_reply": "2026-01-23T05:08:04.402010Z"
+ "iopub.execute_input": "2026-01-23T15:41:44.847720Z",
+ "iopub.status.busy": "2026-01-23T15:41:44.847635Z",
+ "iopub.status.idle": "2026-01-23T15:41:44.855371Z",
+ "shell.execute_reply": "2026-01-23T15:41:44.855065Z"
}
},
"outputs": [],
diff --git a/src/tutorials/basics/02-schema-design.ipynb b/src/tutorials/basics/02-schema-design.ipynb
index 5a694fa8..cf8904a9 100644
--- a/src/tutorials/basics/02-schema-design.ipynb
+++ b/src/tutorials/basics/02-schema-design.ipynb
@@ -21,10 +21,10 @@
"execution_count": 1,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:05.475282Z",
- "iopub.status.busy": "2026-01-23T05:08:05.475155Z",
- "iopub.status.idle": "2026-01-23T05:08:06.299530Z",
- "shell.execute_reply": "2026-01-23T05:08:06.299165Z"
+ "iopub.execute_input": "2026-01-23T15:41:46.051968Z",
+ "iopub.status.busy": "2026-01-23T15:41:46.051780Z",
+ "iopub.status.idle": "2026-01-23T15:41:46.913617Z",
+ "shell.execute_reply": "2026-01-23T15:41:46.913289Z"
}
},
"outputs": [
@@ -32,7 +32,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:06,291][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:41:46,905][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -69,10 +69,10 @@
"execution_count": 2,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.301395Z",
- "iopub.status.busy": "2026-01-23T05:08:06.301182Z",
- "iopub.status.idle": "2026-01-23T05:08:06.339709Z",
- "shell.execute_reply": "2026-01-23T05:08:06.339399Z"
+ "iopub.execute_input": "2026-01-23T15:41:46.915603Z",
+ "iopub.status.busy": "2026-01-23T15:41:46.915369Z",
+ "iopub.status.idle": "2026-01-23T15:41:46.955322Z",
+ "shell.execute_reply": "2026-01-23T15:41:46.954997Z"
}
},
"outputs": [],
@@ -115,10 +115,10 @@
"execution_count": 3,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.341389Z",
- "iopub.status.busy": "2026-01-23T05:08:06.341264Z",
- "iopub.status.idle": "2026-01-23T05:08:06.363894Z",
- "shell.execute_reply": "2026-01-23T05:08:06.363565Z"
+ "iopub.execute_input": "2026-01-23T15:41:46.957004Z",
+ "iopub.status.busy": "2026-01-23T15:41:46.956888Z",
+ "iopub.status.idle": "2026-01-23T15:41:46.980325Z",
+ "shell.execute_reply": "2026-01-23T15:41:46.980028Z"
}
},
"outputs": [],
@@ -156,10 +156,10 @@
"execution_count": 4,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.365474Z",
- "iopub.status.busy": "2026-01-23T05:08:06.365345Z",
- "iopub.status.idle": "2026-01-23T05:08:06.370624Z",
- "shell.execute_reply": "2026-01-23T05:08:06.370371Z"
+ "iopub.execute_input": "2026-01-23T15:41:46.981924Z",
+ "iopub.status.busy": "2026-01-23T15:41:46.981794Z",
+ "iopub.status.idle": "2026-01-23T15:41:46.987498Z",
+ "shell.execute_reply": "2026-01-23T15:41:46.987224Z"
}
},
"outputs": [
@@ -315,10 +315,10 @@
"execution_count": 5,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.372008Z",
- "iopub.status.busy": "2026-01-23T05:08:06.371891Z",
- "iopub.status.idle": "2026-01-23T05:08:06.401279Z",
- "shell.execute_reply": "2026-01-23T05:08:06.400982Z"
+ "iopub.execute_input": "2026-01-23T15:41:46.989133Z",
+ "iopub.status.busy": "2026-01-23T15:41:46.988979Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.023391Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.023034Z"
}
},
"outputs": [],
@@ -346,7 +346,7 @@
" stimulus : varchar(50)\n",
" response : varchar(50)\n",
" correct : bool\n",
- " reaction_time : float32 # seconds\n",
+ " reaction_time : decimal(3,2) # seconds\n",
" \"\"\""
]
},
@@ -373,10 +373,10 @@
"execution_count": 6,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.403359Z",
- "iopub.status.busy": "2026-01-23T05:08:06.403014Z",
- "iopub.status.idle": "2026-01-23T05:08:06.408786Z",
- "shell.execute_reply": "2026-01-23T05:08:06.408536Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.025329Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.025021Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.031832Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.031542Z"
}
},
"outputs": [
@@ -532,10 +532,10 @@
"execution_count": 7,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.410137Z",
- "iopub.status.busy": "2026-01-23T05:08:06.410025Z",
- "iopub.status.idle": "2026-01-23T05:08:06.415623Z",
- "shell.execute_reply": "2026-01-23T05:08:06.415378Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.033235Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.033118Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.039258Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.038976Z"
}
},
"outputs": [
@@ -710,10 +710,10 @@
"execution_count": 8,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.416895Z",
- "iopub.status.busy": "2026-01-23T05:08:06.416782Z",
- "iopub.status.idle": "2026-01-23T05:08:06.419645Z",
- "shell.execute_reply": "2026-01-23T05:08:06.419349Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.040609Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.040493Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.043720Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.043443Z"
}
},
"outputs": [
@@ -771,10 +771,10 @@
"execution_count": 9,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.421121Z",
- "iopub.status.busy": "2026-01-23T05:08:06.421007Z",
- "iopub.status.idle": "2026-01-23T05:08:06.429990Z",
- "shell.execute_reply": "2026-01-23T05:08:06.429738Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.045265Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.045165Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.054971Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.054618Z"
}
},
"outputs": [
@@ -930,10 +930,10 @@
"execution_count": 10,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.431419Z",
- "iopub.status.busy": "2026-01-23T05:08:06.431309Z",
- "iopub.status.idle": "2026-01-23T05:08:06.442350Z",
- "shell.execute_reply": "2026-01-23T05:08:06.442040Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.056560Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.056431Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.067521Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.067216Z"
}
},
"outputs": [],
@@ -952,6 +952,7 @@
" \n",
" def make(self, key):\n",
" correct_vals, rt_vals = (Session.Trial & key).to_arrays('correct', 'reaction_time')\n",
+ " rt_vals = rt_vals.astype(float) # convert decimal to float\n",
" n_trials = len(correct_vals)\n",
" n_correct = sum(correct_vals) if n_trials else 0\n",
"\n",
@@ -991,10 +992,10 @@
"execution_count": 11,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.443974Z",
- "iopub.status.busy": "2026-01-23T05:08:06.443852Z",
- "iopub.status.idle": "2026-01-23T05:08:06.461112Z",
- "shell.execute_reply": "2026-01-23T05:08:06.460836Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.069061Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.068931Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.089223Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.088919Z"
}
},
"outputs": [],
@@ -1033,10 +1034,10 @@
"execution_count": 12,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.462599Z",
- "iopub.status.busy": "2026-01-23T05:08:06.462481Z",
- "iopub.status.idle": "2026-01-23T05:08:06.481570Z",
- "shell.execute_reply": "2026-01-23T05:08:06.481304Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.091049Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.090943Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.112360Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.112073Z"
}
},
"outputs": [],
@@ -1080,10 +1081,10 @@
"execution_count": 13,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.483163Z",
- "iopub.status.busy": "2026-01-23T05:08:06.483044Z",
- "iopub.status.idle": "2026-01-23T05:08:06.846259Z",
- "shell.execute_reply": "2026-01-23T05:08:06.845797Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.113936Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.113820Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.490073Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.489531Z"
}
},
"outputs": [
@@ -1297,7 +1298,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 13,
@@ -1351,10 +1352,10 @@
"execution_count": 14,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.848013Z",
- "iopub.status.busy": "2026-01-23T05:08:06.847889Z",
- "iopub.status.idle": "2026-01-23T05:08:06.855773Z",
- "shell.execute_reply": "2026-01-23T05:08:06.855500Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.491870Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.491734Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.501258Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.500973Z"
}
},
"outputs": [
@@ -1393,10 +1394,10 @@
"execution_count": 15,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.857141Z",
- "iopub.status.busy": "2026-01-23T05:08:06.857047Z",
- "iopub.status.idle": "2026-01-23T05:08:06.915559Z",
- "shell.execute_reply": "2026-01-23T05:08:06.915146Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.502742Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.502645Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.565264Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.564807Z"
}
},
"outputs": [
@@ -1413,7 +1414,7 @@
"output_type": "stream",
"text": [
"\r",
- "SessionSummary: 100%|██████████| 3/3 [00:00<00:00, 180.06it/s]"
+ "SessionSummary: 100%|██████████| 3/3 [00:00<00:00, 169.31it/s]"
]
},
{
@@ -1536,7 +1537,7 @@
"20 | \n",
"14 | \n",
"0.7 | \n",
- "0.53639054 | | M001 | \n",
+ "0.5365 |
| M001 | \n",
"2 | \n",
"0 | \n",
"0 | \n",
@@ -1555,7 +1556,7 @@
"text/plain": [
"*subject_id *session_idx num_trials num_correct accuracy mean_reaction_\n",
"+------------+ +------------+ +------------+ +------------+ +----------+ +------------+\n",
- "M001 1 20 14 0.7 0.53639054 \n",
+ "M001 1 20 14 0.7 0.5365 \n",
"M001 2 0 0 0.0 0.0 \n",
"M001 3 0 0 0.0 0.0 \n",
" (Total: 3)"
@@ -1656,10 +1657,10 @@
"execution_count": 16,
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:06.917045Z",
- "iopub.status.busy": "2026-01-23T05:08:06.916923Z",
- "iopub.status.idle": "2026-01-23T05:08:06.925388Z",
- "shell.execute_reply": "2026-01-23T05:08:06.925110Z"
+ "iopub.execute_input": "2026-01-23T15:41:47.567030Z",
+ "iopub.status.busy": "2026-01-23T15:41:47.566860Z",
+ "iopub.status.idle": "2026-01-23T15:41:47.575591Z",
+ "shell.execute_reply": "2026-01-23T15:41:47.575295Z"
}
},
"outputs": [],
diff --git a/src/tutorials/basics/03-data-entry.ipynb b/src/tutorials/basics/03-data-entry.ipynb
index 52a7c613..6b1a3c77 100644
--- a/src/tutorials/basics/03-data-entry.ipynb
+++ b/src/tutorials/basics/03-data-entry.ipynb
@@ -23,10 +23,10 @@
"id": "cell-1",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:10.521957Z",
- "iopub.status.busy": "2026-01-23T05:08:10.521849Z",
- "iopub.status.idle": "2026-01-23T05:08:11.318572Z",
- "shell.execute_reply": "2026-01-23T05:08:11.318256Z"
+ "iopub.execute_input": "2026-01-23T15:41:51.101240Z",
+ "iopub.status.busy": "2026-01-23T15:41:51.101127Z",
+ "iopub.status.idle": "2026-01-23T15:41:51.950645Z",
+ "shell.execute_reply": "2026-01-23T15:41:51.950308Z"
}
},
"outputs": [
@@ -34,7 +34,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,311][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:41:51,943][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -51,10 +51,10 @@
"id": "cell-2",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.320475Z",
- "iopub.status.busy": "2026-01-23T05:08:11.320281Z",
- "iopub.status.idle": "2026-01-23T05:08:11.385979Z",
- "shell.execute_reply": "2026-01-23T05:08:11.385643Z"
+ "iopub.execute_input": "2026-01-23T15:41:51.952415Z",
+ "iopub.status.busy": "2026-01-23T15:41:51.952216Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.016443Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.016147Z"
}
},
"outputs": [],
@@ -86,7 +86,7 @@
" session_idx : int32\n",
" ---\n",
" session_date : date\n",
- " duration : float32 # minutes\n",
+ " duration : decimal(4,1) # minutes\n",
" \"\"\"\n",
"\n",
" class Trial(dj.Part):\n",
@@ -95,7 +95,7 @@
" trial_idx : int32\n",
" ---\n",
" outcome : enum('hit', 'miss', 'false_alarm', 'correct_reject')\n",
- " reaction_time : float32 # seconds\n",
+ " reaction_time : decimal(3,2) # seconds\n",
" \"\"\"\n",
"\n",
"@schema\n",
@@ -131,10 +131,10 @@
"id": "cell-4",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.387898Z",
- "iopub.status.busy": "2026-01-23T05:08:11.387752Z",
- "iopub.status.idle": "2026-01-23T05:08:11.394857Z",
- "shell.execute_reply": "2026-01-23T05:08:11.394635Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.018101Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.017995Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.024995Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.024750Z"
}
},
"outputs": [
@@ -295,10 +295,10 @@
"id": "cell-6",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.396203Z",
- "iopub.status.busy": "2026-01-23T05:08:11.396107Z",
- "iopub.status.idle": "2026-01-23T05:08:11.401261Z",
- "shell.execute_reply": "2026-01-23T05:08:11.401042Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.026369Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.026262Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.030790Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.030590Z"
}
},
"outputs": [
@@ -482,10 +482,10 @@
"id": "cell-8",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.402424Z",
- "iopub.status.busy": "2026-01-23T05:08:11.402334Z",
- "iopub.status.idle": "2026-01-23T05:08:11.409099Z",
- "shell.execute_reply": "2026-01-23T05:08:11.408799Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.032009Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.031932Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.038544Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.038278Z"
}
},
"outputs": [
@@ -528,10 +528,10 @@
"id": "cell-10",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.410483Z",
- "iopub.status.busy": "2026-01-23T05:08:11.410389Z",
- "iopub.status.idle": "2026-01-23T05:08:11.413069Z",
- "shell.execute_reply": "2026-01-23T05:08:11.412842Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.039995Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.039883Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.042851Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.042597Z"
}
},
"outputs": [
@@ -568,10 +568,10 @@
"id": "cell-12",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.414373Z",
- "iopub.status.busy": "2026-01-23T05:08:11.414272Z",
- "iopub.status.idle": "2026-01-23T05:08:11.416395Z",
- "shell.execute_reply": "2026-01-23T05:08:11.416202Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.044175Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.044071Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.047152Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.046661Z"
}
},
"outputs": [
@@ -616,10 +616,10 @@
"id": "cell-16",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.417717Z",
- "iopub.status.busy": "2026-01-23T05:08:11.417610Z",
- "iopub.status.idle": "2026-01-23T05:08:11.419669Z",
- "shell.execute_reply": "2026-01-23T05:08:11.419479Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.049016Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.048858Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.051286Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.050970Z"
}
},
"outputs": [
@@ -648,10 +648,10 @@
"id": "cell-17",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.420911Z",
- "iopub.status.busy": "2026-01-23T05:08:11.420818Z",
- "iopub.status.idle": "2026-01-23T05:08:11.424131Z",
- "shell.execute_reply": "2026-01-23T05:08:11.423887Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.052627Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.052510Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.055934Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.055658Z"
}
},
"outputs": [
@@ -694,10 +694,10 @@
"id": "cell-19",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.425456Z",
- "iopub.status.busy": "2026-01-23T05:08:11.425365Z",
- "iopub.status.idle": "2026-01-23T05:08:11.437480Z",
- "shell.execute_reply": "2026-01-23T05:08:11.437222Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.057504Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.057380Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.071956Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.071603Z"
}
},
"outputs": [
@@ -901,10 +901,10 @@
"id": "cell-21",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.438853Z",
- "iopub.status.busy": "2026-01-23T05:08:11.438744Z",
- "iopub.status.idle": "2026-01-23T05:08:11.442492Z",
- "shell.execute_reply": "2026-01-23T05:08:11.442280Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.073439Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.073306Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.077597Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.077336Z"
}
},
"outputs": [
@@ -936,10 +936,10 @@
"id": "cell-22",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.443586Z",
- "iopub.status.busy": "2026-01-23T05:08:11.443481Z",
- "iopub.status.idle": "2026-01-23T05:08:11.446832Z",
- "shell.execute_reply": "2026-01-23T05:08:11.446634Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.078913Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.078809Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.082990Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.082677Z"
}
},
"outputs": [
@@ -987,10 +987,10 @@
"id": "cell-24",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.448053Z",
- "iopub.status.busy": "2026-01-23T05:08:11.447943Z",
- "iopub.status.idle": "2026-01-23T05:08:11.450090Z",
- "shell.execute_reply": "2026-01-23T05:08:11.449841Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.084693Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.084580Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.086683Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.086423Z"
}
},
"outputs": [
@@ -1018,10 +1018,10 @@
"id": "cell-25",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.451263Z",
- "iopub.status.busy": "2026-01-23T05:08:11.451168Z",
- "iopub.status.idle": "2026-01-23T05:08:11.453161Z",
- "shell.execute_reply": "2026-01-23T05:08:11.452950Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.088221Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.088006Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.090639Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.090243Z"
}
},
"outputs": [
@@ -1059,10 +1059,10 @@
"id": "cell-27",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.454346Z",
- "iopub.status.busy": "2026-01-23T05:08:11.454240Z",
- "iopub.status.idle": "2026-01-23T05:08:11.457615Z",
- "shell.execute_reply": "2026-01-23T05:08:11.457420Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.092224Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.092100Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.096272Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.096006Z"
}
},
"outputs": [
@@ -1106,10 +1106,10 @@
"id": "cell-29",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.458776Z",
- "iopub.status.busy": "2026-01-23T05:08:11.458688Z",
- "iopub.status.idle": "2026-01-23T05:08:11.477898Z",
- "shell.execute_reply": "2026-01-23T05:08:11.477624Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.097725Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.097607Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.118616Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.118297Z"
}
},
"outputs": [
@@ -1139,10 +1139,10 @@
"id": "cell-30",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.479371Z",
- "iopub.status.busy": "2026-01-23T05:08:11.479281Z",
- "iopub.status.idle": "2026-01-23T05:08:11.501547Z",
- "shell.execute_reply": "2026-01-23T05:08:11.501270Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.120376Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.120274Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.145273Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.144986Z"
}
},
"outputs": [
@@ -1150,21 +1150,21 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,489][INFO]: Deleting 5 rows from \"tutorial_data_entry\".\"session__trial\"\n"
+ "[2026-01-23 09:41:52,131][INFO]: Deleting 5 rows from \"tutorial_data_entry\".\"session__trial\"\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,497][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"__processed_data\"\n"
+ "[2026-01-23 09:41:52,140][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"__processed_data\"\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,498][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"session\"\n"
+ "[2026-01-23 09:41:52,142][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"session\"\n"
]
},
{
@@ -1215,10 +1215,10 @@
"id": "cell-32",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.502884Z",
- "iopub.status.busy": "2026-01-23T05:08:11.502792Z",
- "iopub.status.idle": "2026-01-23T05:08:11.516474Z",
- "shell.execute_reply": "2026-01-23T05:08:11.516187Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.146772Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.146670Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.161519Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.161243Z"
}
},
"outputs": [
@@ -1226,14 +1226,14 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,513][INFO]: Deleting 2 rows from \"tutorial_data_entry\".\"session__trial\"\n"
+ "[2026-01-23 09:41:52,157][INFO]: Deleting 2 rows from \"tutorial_data_entry\".\"session__trial\"\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,514][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"session\"\n"
+ "[2026-01-23 09:41:52,159][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"session\"\n"
]
},
{
@@ -1283,10 +1283,10 @@
"id": "cell-34",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.517842Z",
- "iopub.status.busy": "2026-01-23T05:08:11.517723Z",
- "iopub.status.idle": "2026-01-23T05:08:11.528478Z",
- "shell.execute_reply": "2026-01-23T05:08:11.528211Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.162929Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.162814Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.174270Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.174016Z"
}
},
"outputs": [
@@ -1325,10 +1325,10 @@
"id": "cell-35",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.529855Z",
- "iopub.status.busy": "2026-01-23T05:08:11.529763Z",
- "iopub.status.idle": "2026-01-23T05:08:11.559057Z",
- "shell.execute_reply": "2026-01-23T05:08:11.558775Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.175704Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.175599Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.206386Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.206119Z"
}
},
"outputs": [
@@ -1336,21 +1336,21 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,539][INFO]: Deleting 2 rows from \"tutorial_data_entry\".\"session__trial\"\n"
+ "[2026-01-23 09:41:52,185][INFO]: Deleting 2 rows from \"tutorial_data_entry\".\"session__trial\"\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,547][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"__processed_data\"\n"
+ "[2026-01-23 09:41:52,194][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"__processed_data\"\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:11,548][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"session\"\n"
+ "[2026-01-23 09:41:52,195][INFO]: Deleting 1 rows from \"tutorial_data_entry\".\"session\"\n"
]
},
{
@@ -1401,10 +1401,10 @@
"id": "cell-37",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.560431Z",
- "iopub.status.busy": "2026-01-23T05:08:11.560343Z",
- "iopub.status.idle": "2026-01-23T05:08:11.563050Z",
- "shell.execute_reply": "2026-01-23T05:08:11.562809Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.207820Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.207689Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.210977Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.210694Z"
}
},
"outputs": [
@@ -1439,10 +1439,10 @@
"id": "cell-38",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.564279Z",
- "iopub.status.busy": "2026-01-23T05:08:11.564174Z",
- "iopub.status.idle": "2026-01-23T05:08:11.566297Z",
- "shell.execute_reply": "2026-01-23T05:08:11.566057Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.212262Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.212157Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.214286Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.214006Z"
}
},
"outputs": [
@@ -1489,10 +1489,10 @@
"id": "cell-40",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.567548Z",
- "iopub.status.busy": "2026-01-23T05:08:11.567443Z",
- "iopub.status.idle": "2026-01-23T05:08:11.571705Z",
- "shell.execute_reply": "2026-01-23T05:08:11.571442Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.215871Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.215752Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.220197Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.219931Z"
}
},
"outputs": [
@@ -1614,10 +1614,10 @@
"id": "cell-43",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:11.573069Z",
- "iopub.status.busy": "2026-01-23T05:08:11.572967Z",
- "iopub.status.idle": "2026-01-23T05:08:11.577033Z",
- "shell.execute_reply": "2026-01-23T05:08:11.576760Z"
+ "iopub.execute_input": "2026-01-23T15:41:52.221741Z",
+ "iopub.status.busy": "2026-01-23T15:41:52.221645Z",
+ "iopub.status.idle": "2026-01-23T15:41:52.225820Z",
+ "shell.execute_reply": "2026-01-23T15:41:52.225518Z"
}
},
"outputs": [],
diff --git a/src/tutorials/basics/04-queries.ipynb b/src/tutorials/basics/04-queries.ipynb
index 68a1eedd..864228e3 100644
--- a/src/tutorials/basics/04-queries.ipynb
+++ b/src/tutorials/basics/04-queries.ipynb
@@ -26,10 +26,10 @@
"id": "cell-1",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:12.586738Z",
- "iopub.status.busy": "2026-01-23T05:08:12.586610Z",
- "iopub.status.idle": "2026-01-23T05:08:13.386384Z",
- "shell.execute_reply": "2026-01-23T05:08:13.385831Z"
+ "iopub.execute_input": "2026-01-23T15:41:53.282252Z",
+ "iopub.status.busy": "2026-01-23T15:41:53.282129Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.150708Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.150313Z"
}
},
"outputs": [
@@ -37,7 +37,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:13,378][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:41:54,141][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -54,10 +54,10 @@
"id": "cell-2",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.388996Z",
- "iopub.status.busy": "2026-01-23T05:08:13.388694Z",
- "iopub.status.idle": "2026-01-23T05:08:13.449623Z",
- "shell.execute_reply": "2026-01-23T05:08:13.449313Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.152766Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.152493Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.219359Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.219049Z"
}
},
"outputs": [],
@@ -71,7 +71,7 @@
" species : varchar(50)\n",
" date_of_birth : date\n",
" sex : enum('M', 'F', 'U')\n",
- " weight : float32 # grams\n",
+ " weight : decimal(4,1) # grams\n",
" \"\"\"\n",
"\n",
"@schema\n",
@@ -90,7 +90,7 @@
" ---\n",
" -> Experimenter\n",
" session_date : date\n",
- " duration : float32 # minutes\n",
+ " duration : decimal(4,1) # minutes\n",
" \"\"\"\n",
"\n",
" class Trial(dj.Part):\n",
@@ -101,7 +101,7 @@
" stimulus : varchar(50)\n",
" response : varchar(50)\n",
" correct : bool\n",
- " reaction_time : float32 # seconds\n",
+ " reaction_time : decimal(3,2) # seconds\n",
" \"\"\""
]
},
@@ -111,10 +111,10 @@
"id": "cell-3",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.451334Z",
- "iopub.status.busy": "2026-01-23T05:08:13.451227Z",
- "iopub.status.idle": "2026-01-23T05:08:13.465938Z",
- "shell.execute_reply": "2026-01-23T05:08:13.465695Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.221092Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.220910Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.236735Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.236473Z"
}
},
"outputs": [
@@ -202,10 +202,10 @@
"id": "cell-5",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.467249Z",
- "iopub.status.busy": "2026-01-23T05:08:13.467163Z",
- "iopub.status.idle": "2026-01-23T05:08:13.472459Z",
- "shell.execute_reply": "2026-01-23T05:08:13.472251Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.238291Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.238175Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.244994Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.244701Z"
}
},
"outputs": [
@@ -357,10 +357,10 @@
"id": "cell-6",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.473634Z",
- "iopub.status.busy": "2026-01-23T05:08:13.473551Z",
- "iopub.status.idle": "2026-01-23T05:08:13.477495Z",
- "shell.execute_reply": "2026-01-23T05:08:13.477229Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.246815Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.246571Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.251548Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.251251Z"
}
},
"outputs": [
@@ -512,10 +512,10 @@
"id": "cell-7",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.478787Z",
- "iopub.status.busy": "2026-01-23T05:08:13.478700Z",
- "iopub.status.idle": "2026-01-23T05:08:13.482785Z",
- "shell.execute_reply": "2026-01-23T05:08:13.482525Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.252851Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.252768Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.258115Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.257745Z"
}
},
"outputs": [
@@ -672,10 +672,10 @@
"id": "cell-9",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.484183Z",
- "iopub.status.busy": "2026-01-23T05:08:13.484094Z",
- "iopub.status.idle": "2026-01-23T05:08:13.487888Z",
- "shell.execute_reply": "2026-01-23T05:08:13.487660Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.259862Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.259686Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.264200Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.263813Z"
}
},
"outputs": [
@@ -822,10 +822,10 @@
"id": "cell-10",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.489115Z",
- "iopub.status.busy": "2026-01-23T05:08:13.489026Z",
- "iopub.status.idle": "2026-01-23T05:08:13.492903Z",
- "shell.execute_reply": "2026-01-23T05:08:13.492702Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.265736Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.265626Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.270152Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.269889Z"
}
},
"outputs": [
@@ -979,10 +979,10 @@
"id": "cell-12",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.494118Z",
- "iopub.status.busy": "2026-01-23T05:08:13.494027Z",
- "iopub.status.idle": "2026-01-23T05:08:13.498102Z",
- "shell.execute_reply": "2026-01-23T05:08:13.497879Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.271825Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.271682Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.277034Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.276763Z"
}
},
"outputs": [
@@ -1134,10 +1134,10 @@
"id": "cell-13",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.499272Z",
- "iopub.status.busy": "2026-01-23T05:08:13.499176Z",
- "iopub.status.idle": "2026-01-23T05:08:13.502875Z",
- "shell.execute_reply": "2026-01-23T05:08:13.502647Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.278396Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.278301Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.282981Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.282677Z"
}
},
"outputs": [
@@ -1289,10 +1289,10 @@
"id": "cell-15",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.504129Z",
- "iopub.status.busy": "2026-01-23T05:08:13.504027Z",
- "iopub.status.idle": "2026-01-23T05:08:13.508318Z",
- "shell.execute_reply": "2026-01-23T05:08:13.508080Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.284404Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.284313Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.288821Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.288454Z"
}
},
"outputs": [
@@ -1449,10 +1449,10 @@
"id": "cell-17",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.509643Z",
- "iopub.status.busy": "2026-01-23T05:08:13.509552Z",
- "iopub.status.idle": "2026-01-23T05:08:13.512430Z",
- "shell.execute_reply": "2026-01-23T05:08:13.512185Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.290523Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.290395Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.293850Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.293504Z"
}
},
"outputs": [
@@ -1496,10 +1496,10 @@
"id": "p5xnoujskl8",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.513743Z",
- "iopub.status.busy": "2026-01-23T05:08:13.513625Z",
- "iopub.status.idle": "2026-01-23T05:08:13.518023Z",
- "shell.execute_reply": "2026-01-23T05:08:13.517750Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.295430Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.295326Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.300542Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.300245Z"
}
},
"outputs": [
@@ -1646,10 +1646,10 @@
"id": "hpibg94qotw",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.519232Z",
- "iopub.status.busy": "2026-01-23T05:08:13.519150Z",
- "iopub.status.idle": "2026-01-23T05:08:13.523166Z",
- "shell.execute_reply": "2026-01-23T05:08:13.522965Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.301879Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.301793Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.306121Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.305753Z"
}
},
"outputs": [
@@ -1796,10 +1796,10 @@
"id": "lrsq7ozuhuj",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.524406Z",
- "iopub.status.busy": "2026-01-23T05:08:13.524322Z",
- "iopub.status.idle": "2026-01-23T05:08:13.528263Z",
- "shell.execute_reply": "2026-01-23T05:08:13.528015Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.307927Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.307777Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.312836Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.312515Z"
}
},
"outputs": [
@@ -1954,10 +1954,10 @@
"id": "0pinn18w1ibn",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.529696Z",
- "iopub.status.busy": "2026-01-23T05:08:13.529577Z",
- "iopub.status.idle": "2026-01-23T05:08:13.535149Z",
- "shell.execute_reply": "2026-01-23T05:08:13.534903Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.314504Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.314370Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.320164Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.319878Z"
}
},
"outputs": [
@@ -2078,73 +2078,73 @@
"right | \n",
"left | \n",
"True | \n",
- "0.22749463 |
| M001 | \n",
+ "0.23 |
| M001 | \n",
"2 | \n",
"2 | \n",
"left | \n",
"right | \n",
"True | \n",
- "0.7131906 |
| M001 | \n",
+ "0.71 |
| M001 | \n",
"2 | \n",
"3 | \n",
"left | \n",
"right | \n",
"False | \n",
- "0.58141065 |
| M001 | \n",
+ "0.58 |
| M001 | \n",
"2 | \n",
"4 | \n",
"right | \n",
"left | \n",
"True | \n",
- "0.32570422 |
| M001 | \n",
+ "0.33 |
| M001 | \n",
"2 | \n",
"5 | \n",
"right | \n",
"left | \n",
"True | \n",
- "0.30268317 |
| M001 | \n",
+ "0.30 |
| M001 | \n",
"2 | \n",
"6 | \n",
"left | \n",
"left | \n",
"True | \n",
- "0.3619687 |
| M001 | \n",
+ "0.36 |
| M001 | \n",
"2 | \n",
"7 | \n",
"left | \n",
"right | \n",
"True | \n",
- "0.66559994 |
| M001 | \n",
+ "0.67 |
| M001 | \n",
"2 | \n",
"8 | \n",
"left | \n",
"left | \n",
"True | \n",
- "0.44069886 |
| M001 | \n",
+ "0.44 |
| M001 | \n",
"2 | \n",
"9 | \n",
"left | \n",
"left | \n",
"True | \n",
- "0.54030806 |
| M001 | \n",
+ "0.54 |
| M001 | \n",
"2 | \n",
"10 | \n",
"right | \n",
"left | \n",
"True | \n",
- "0.43737915 |
| M002 | \n",
+ "0.44 |
| M002 | \n",
"2 | \n",
"1 | \n",
"right | \n",
"left | \n",
"False | \n",
- "0.65750647 |
| M002 | \n",
+ "0.66 |
| M002 | \n",
"2 | \n",
"2 | \n",
"left | \n",
"right | \n",
"True | \n",
- "0.26712063 |
\n",
+ "0.27 | \n",
" \n",
" ...
\n",
" Total: 20
\n",
@@ -2153,18 +2153,18 @@
"text/plain": [
"*subject_id *session_idx *trial_idx stimulus response correct reaction_time \n",
"+------------+ +------------+ +-----------+ +----------+ +----------+ +---------+ +------------+\n",
- "M001 2 1 right left True 0.22749463 \n",
- "M001 2 2 left right True 0.7131906 \n",
- "M001 2 3 left right False 0.58141065 \n",
- "M001 2 4 right left True 0.32570422 \n",
- "M001 2 5 right left True 0.30268317 \n",
- "M001 2 6 left left True 0.3619687 \n",
- "M001 2 7 left right True 0.66559994 \n",
- "M001 2 8 left left True 0.44069886 \n",
- "M001 2 9 left left True 0.54030806 \n",
- "M001 2 10 right left True 0.43737915 \n",
- "M002 2 1 right left False 0.65750647 \n",
- "M002 2 2 left right True 0.26712063 \n",
+ "M001 2 1 right left True 0.23 \n",
+ "M001 2 2 left right True 0.71 \n",
+ "M001 2 3 left right False 0.58 \n",
+ "M001 2 4 right left True 0.33 \n",
+ "M001 2 5 right left True 0.30 \n",
+ "M001 2 6 left left True 0.36 \n",
+ "M001 2 7 left right True 0.67 \n",
+ "M001 2 8 left left True 0.44 \n",
+ "M001 2 9 left left True 0.54 \n",
+ "M001 2 10 right left True 0.44 \n",
+ "M002 2 1 right left False 0.66 \n",
+ "M002 2 2 left right True 0.27 \n",
" ...\n",
" (Total: 20)"
]
@@ -2199,10 +2199,10 @@
"id": "cell-19",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.536424Z",
- "iopub.status.busy": "2026-01-23T05:08:13.536346Z",
- "iopub.status.idle": "2026-01-23T05:08:13.544572Z",
- "shell.execute_reply": "2026-01-23T05:08:13.544318Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.321939Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.321796Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.331435Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.330987Z"
}
},
"outputs": [
@@ -2359,10 +2359,10 @@
"id": "cell-20",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.545796Z",
- "iopub.status.busy": "2026-01-23T05:08:13.545711Z",
- "iopub.status.idle": "2026-01-23T05:08:13.553661Z",
- "shell.execute_reply": "2026-01-23T05:08:13.553413Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.333143Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.333007Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.343504Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.343245Z"
}
},
"outputs": [
@@ -2519,10 +2519,10 @@
"id": "cell-21",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.554957Z",
- "iopub.status.busy": "2026-01-23T05:08:13.554869Z",
- "iopub.status.idle": "2026-01-23T05:08:13.562893Z",
- "shell.execute_reply": "2026-01-23T05:08:13.562620Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.344879Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.344773Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.354112Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.353845Z"
}
},
"outputs": [
@@ -2679,10 +2679,10 @@
"id": "cell-22",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.564132Z",
- "iopub.status.busy": "2026-01-23T05:08:13.564034Z",
- "iopub.status.idle": "2026-01-23T05:08:13.571872Z",
- "shell.execute_reply": "2026-01-23T05:08:13.571616Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.355698Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.355565Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.365336Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.365046Z"
}
},
"outputs": [
@@ -2847,10 +2847,10 @@
"id": "cell-24",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.573172Z",
- "iopub.status.busy": "2026-01-23T05:08:13.573077Z",
- "iopub.status.idle": "2026-01-23T05:08:13.581127Z",
- "shell.execute_reply": "2026-01-23T05:08:13.580881Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.366872Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.366751Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.377454Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.377158Z"
}
},
"outputs": [
@@ -3015,10 +3015,10 @@
"id": "cell-26",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.582525Z",
- "iopub.status.busy": "2026-01-23T05:08:13.582425Z",
- "iopub.status.idle": "2026-01-23T05:08:13.590826Z",
- "shell.execute_reply": "2026-01-23T05:08:13.590576Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.378776Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.378677Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.388641Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.388319Z"
}
},
"outputs": [
@@ -3152,10 +3152,10 @@
"text/plain": [
"*subject_id species weight_kg \n",
"+------------+ +------------+ +------------+\n",
- "M001 Mus musculus 0.025299999237\n",
- "M002 Mus musculus 0.022100000381\n",
- "M003 Mus musculus 0.026799999237\n",
- "R001 Rattus norvegi 0.2805 \n",
+ "M001 Mus musculus 0.025300000000\n",
+ "M002 Mus musculus 0.022100000000\n",
+ "M003 Mus musculus 0.026800000000\n",
+ "R001 Rattus norvegi 0.280500000000\n",
" (Total: 4)"
]
},
@@ -3175,10 +3175,10 @@
"id": "cell-27",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.592068Z",
- "iopub.status.busy": "2026-01-23T05:08:13.591975Z",
- "iopub.status.idle": "2026-01-23T05:08:13.600184Z",
- "shell.execute_reply": "2026-01-23T05:08:13.599898Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.390420Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.390240Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.400196Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.399874Z"
}
},
"outputs": [
@@ -3357,10 +3357,10 @@
"id": "cell-29",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.601491Z",
- "iopub.status.busy": "2026-01-23T05:08:13.601409Z",
- "iopub.status.idle": "2026-01-23T05:08:13.605500Z",
- "shell.execute_reply": "2026-01-23T05:08:13.605274Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.401649Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.401534Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.406390Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.406053Z"
}
},
"outputs": [
@@ -3554,10 +3554,10 @@
"id": "cell-30",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.606678Z",
- "iopub.status.busy": "2026-01-23T05:08:13.606593Z",
- "iopub.status.idle": "2026-01-23T05:08:13.610697Z",
- "shell.execute_reply": "2026-01-23T05:08:13.610440Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.408241Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.408098Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.413191Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.412867Z"
}
},
"outputs": [
@@ -3733,10 +3733,10 @@
"id": "cell-31",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.611885Z",
- "iopub.status.busy": "2026-01-23T05:08:13.611804Z",
- "iopub.status.idle": "2026-01-23T05:08:13.615871Z",
- "shell.execute_reply": "2026-01-23T05:08:13.615628Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.415006Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.414863Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.419619Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.419372Z"
}
},
"outputs": [
@@ -3912,10 +3912,10 @@
"id": "cell-32",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.617070Z",
- "iopub.status.busy": "2026-01-23T05:08:13.616988Z",
- "iopub.status.idle": "2026-01-23T05:08:13.621374Z",
- "shell.execute_reply": "2026-01-23T05:08:13.621117Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.420935Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.420842Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.426136Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.425880Z"
}
},
"outputs": [
@@ -4118,10 +4118,10 @@
"id": "hlpgqqe045t",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.622677Z",
- "iopub.status.busy": "2026-01-23T05:08:13.622592Z",
- "iopub.status.idle": "2026-01-23T05:08:13.626339Z",
- "shell.execute_reply": "2026-01-23T05:08:13.626120Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.427532Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.427431Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.431988Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.431650Z"
}
},
"outputs": [
@@ -4329,10 +4329,10 @@
"id": "cell-34",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.627694Z",
- "iopub.status.busy": "2026-01-23T05:08:13.627608Z",
- "iopub.status.idle": "2026-01-23T05:08:13.631918Z",
- "shell.execute_reply": "2026-01-23T05:08:13.631687Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.433584Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.433467Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.438427Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.438083Z"
}
},
"outputs": [
@@ -4478,51 +4478,158 @@
"id": "cell-35",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.633150Z",
- "iopub.status.busy": "2026-01-23T05:08:13.633064Z",
- "iopub.status.idle": "2026-01-23T05:08:13.851581Z",
- "shell.execute_reply": "2026-01-23T05:08:13.851246Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.440346Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.440185Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.445304Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.445084Z"
}
},
"outputs": [
{
- "ename": "UndefinedFunction",
- "evalue": "function sum(boolean) does not exist\nLINE 1: ...\"subject_id\",\"session_idx\",count(*) as \"n_trials\",sum(correc...\n ^\nHINT: No function matches the given name and argument types. You might need to add explicit type casts.\n",
- "output_type": "error",
- "traceback": [
- "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
- "\u001b[0;31mUndefinedFunction\u001b[0m Traceback (most recent call last)",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/core/formatters.py:770\u001b[0m, in \u001b[0;36mPlainTextFormatter.__call__\u001b[0;34m(self, obj)\u001b[0m\n\u001b[1;32m 763\u001b[0m stream \u001b[38;5;241m=\u001b[39m StringIO()\n\u001b[1;32m 764\u001b[0m printer \u001b[38;5;241m=\u001b[39m pretty\u001b[38;5;241m.\u001b[39mRepresentationPrinter(stream, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mverbose,\n\u001b[1;32m 765\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmax_width, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mnewline,\n\u001b[1;32m 766\u001b[0m max_seq_length\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmax_seq_length,\n\u001b[1;32m 767\u001b[0m singleton_pprinters\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39msingleton_printers,\n\u001b[1;32m 768\u001b[0m type_pprinters\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtype_printers,\n\u001b[1;32m 769\u001b[0m deferred_pprinters\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mdeferred_printers)\n\u001b[0;32m--> 770\u001b[0m \u001b[43mprinter\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpretty\u001b[49m\u001b[43m(\u001b[49m\u001b[43mobj\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 771\u001b[0m printer\u001b[38;5;241m.\u001b[39mflush()\n\u001b[1;32m 772\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m stream\u001b[38;5;241m.\u001b[39mgetvalue()\n",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/lib/pretty.py:419\u001b[0m, in \u001b[0;36mRepresentationPrinter.pretty\u001b[0;34m(self, obj)\u001b[0m\n\u001b[1;32m 408\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m meth(obj, \u001b[38;5;28mself\u001b[39m, cycle)\n\u001b[1;32m 409\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m (\n\u001b[1;32m 410\u001b[0m \u001b[38;5;28mcls\u001b[39m \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mobject\u001b[39m\n\u001b[1;32m 411\u001b[0m \u001b[38;5;66;03m# check if cls defines __repr__\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 417\u001b[0m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;28mcallable\u001b[39m(_safe_getattr(\u001b[38;5;28mcls\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m__repr__\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;28;01mNone\u001b[39;00m))\n\u001b[1;32m 418\u001b[0m ):\n\u001b[0;32m--> 419\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43m_repr_pprint\u001b[49m\u001b[43m(\u001b[49m\u001b[43mobj\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mcycle\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 421\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m _default_pprint(obj, \u001b[38;5;28mself\u001b[39m, cycle)\n\u001b[1;32m 422\u001b[0m \u001b[38;5;28;01mfinally\u001b[39;00m:\n",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/lib/pretty.py:794\u001b[0m, in \u001b[0;36m_repr_pprint\u001b[0;34m(obj, p, cycle)\u001b[0m\n\u001b[1;32m 792\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124;03m\"\"\"A pprint that just redirects to the normal repr function.\"\"\"\u001b[39;00m\n\u001b[1;32m 793\u001b[0m \u001b[38;5;66;03m# Find newlines and replace them with p.break_()\u001b[39;00m\n\u001b[0;32m--> 794\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mrepr\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43mobj\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 795\u001b[0m lines \u001b[38;5;241m=\u001b[39m output\u001b[38;5;241m.\u001b[39msplitlines()\n\u001b[1;32m 796\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m p\u001b[38;5;241m.\u001b[39mgroup():\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:956\u001b[0m, in \u001b[0;36mQueryExpression.__repr__\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 948\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21m__repr__\u001b[39m(\u001b[38;5;28mself\u001b[39m):\n\u001b[1;32m 949\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 950\u001b[0m \u001b[38;5;124;03m returns the string representation of a QueryExpression object e.g. ``str(q1)``.\u001b[39;00m\n\u001b[1;32m 951\u001b[0m \n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 954\u001b[0m \u001b[38;5;124;03m :rtype: str\u001b[39;00m\n\u001b[1;32m 955\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 956\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28msuper\u001b[39m()\u001b[38;5;241m.\u001b[39m\u001b[38;5;21m__repr__\u001b[39m() \u001b[38;5;28;01mif\u001b[39;00m config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mloglevel\u001b[39m\u001b[38;5;124m\"\u001b[39m]\u001b[38;5;241m.\u001b[39mlower() \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdebug\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpreview\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:960\u001b[0m, in \u001b[0;36mQueryExpression.preview\u001b[0;34m(self, limit, width)\u001b[0m\n\u001b[1;32m 958\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21mpreview\u001b[39m(\u001b[38;5;28mself\u001b[39m, limit\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m, width\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[1;32m 959\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\":return: a string of preview of the contents of the query.\"\"\"\u001b[39;00m\n\u001b[0;32m--> 960\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mpreview\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mlimit\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mwidth\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/preview.py:53\u001b[0m, in \u001b[0;36mpreview\u001b[0;34m(query_expression, limit, width)\u001b[0m\n\u001b[1;32m 51\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m width \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 52\u001b[0m width \u001b[38;5;241m=\u001b[39m config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdisplay.width\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n\u001b[0;32m---> 53\u001b[0m tuples \u001b[38;5;241m=\u001b[39m \u001b[43mrel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mto_arrays\u001b[49m\u001b[43m(\u001b[49m\u001b[43mlimit\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mlimit\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m1\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 54\u001b[0m has_more \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlen\u001b[39m(tuples) \u001b[38;5;241m>\u001b[39m limit\n\u001b[1;32m 55\u001b[0m tuples \u001b[38;5;241m=\u001b[39m tuples[:limit]\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:826\u001b[0m, in \u001b[0;36mQueryExpression.to_arrays\u001b[0;34m(self, include_key, order_by, limit, offset, squeeze, *attrs)\u001b[0m\n\u001b[1;32m 823\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 824\u001b[0m \u001b[38;5;66;03m# Fetch all columns as structured array\u001b[39;00m\n\u001b[1;32m 825\u001b[0m get \u001b[38;5;241m=\u001b[39m partial(decode_attribute, squeeze\u001b[38;5;241m=\u001b[39msqueeze)\n\u001b[0;32m--> 826\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[43mexpr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcursor\u001b[49m\u001b[43m(\u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mFalse\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 827\u001b[0m rows \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlist\u001b[39m(cursor\u001b[38;5;241m.\u001b[39mfetchall())\n\u001b[1;32m 829\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m rows:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:946\u001b[0m, in \u001b[0;36mQueryExpression.cursor\u001b[0;34m(self, as_dict)\u001b[0m\n\u001b[1;32m 944\u001b[0m sql \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmake_sql()\n\u001b[1;32m 945\u001b[0m logger\u001b[38;5;241m.\u001b[39mdebug(sql)\n\u001b[0;32m--> 946\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mconnection\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mquery\u001b[49m\u001b[43m(\u001b[49m\u001b[43msql\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mas_dict\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:425\u001b[0m, in \u001b[0;36mConnection.query\u001b[0;34m(self, query, args, as_dict, suppress_warnings, reconnect)\u001b[0m\n\u001b[1;32m 423\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter\u001b[38;5;241m.\u001b[39mget_cursor(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_conn, as_dict\u001b[38;5;241m=\u001b[39mas_dict)\n\u001b[1;32m 424\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 425\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_execute_query\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcursor\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43msuppress_warnings\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 426\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m errors\u001b[38;5;241m.\u001b[39mLostConnectionError:\n\u001b[1;32m 427\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m reconnect:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:366\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 364\u001b[0m cursor\u001b[38;5;241m.\u001b[39mexecute(query, args)\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n\u001b[0;32m--> 366\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m translate_query_error(err, query, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter)\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:364\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 361\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m suppress_warnings:\n\u001b[1;32m 362\u001b[0m \u001b[38;5;66;03m# suppress all warnings arising from underlying SQL library\u001b[39;00m\n\u001b[1;32m 363\u001b[0m warnings\u001b[38;5;241m.\u001b[39msimplefilter(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mignore\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m--> 364\u001b[0m \u001b[43mcursor\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mexecute\u001b[49m\u001b[43m(\u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n\u001b[1;32m 366\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m translate_query_error(err, query, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter)\n",
- "\u001b[0;31mUndefinedFunction\u001b[0m: function sum(boolean) does not exist\nLINE 1: ...\"subject_id\",\"session_idx\",count(*) as \"n_trials\",sum(correc...\n ^\nHINT: No function matches the given name and argument types. You might need to add explicit type casts.\n"
- ]
- },
- {
- "ename": "UndefinedFunction",
- "evalue": "function sum(boolean) does not exist\nLINE 1: ...\"subject_id\",\"session_idx\",count(*) as \"n_trials\",sum(correc...\n ^\nHINT: No function matches the given name and argument types. You might need to add explicit type casts.\n",
- "output_type": "error",
- "traceback": [
- "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
- "\u001b[0;31mUndefinedFunction\u001b[0m Traceback (most recent call last)",
- "File \u001b[0;32m/opt/anaconda3/lib/python3.12/site-packages/IPython/core/formatters.py:406\u001b[0m, in \u001b[0;36mBaseFormatter.__call__\u001b[0;34m(self, obj)\u001b[0m\n\u001b[1;32m 404\u001b[0m method \u001b[38;5;241m=\u001b[39m get_real_method(obj, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mprint_method)\n\u001b[1;32m 405\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m method \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[0;32m--> 406\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmethod\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 407\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m 408\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:964\u001b[0m, in \u001b[0;36mQueryExpression._repr_html_\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 962\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21m_repr_html_\u001b[39m(\u001b[38;5;28mself\u001b[39m):\n\u001b[1;32m 963\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\":return: HTML to display table in Jupyter notebook.\"\"\"\u001b[39;00m\n\u001b[0;32m--> 964\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mrepr_html\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/preview.py:111\u001b[0m, in \u001b[0;36mrepr_html\u001b[0;34m(query_expression)\u001b[0m\n\u001b[1;32m 109\u001b[0m object_fields \u001b[38;5;241m=\u001b[39m []\n\u001b[1;32m 110\u001b[0m info \u001b[38;5;241m=\u001b[39m heading\u001b[38;5;241m.\u001b[39mtable_status\n\u001b[0;32m--> 111\u001b[0m tuples \u001b[38;5;241m=\u001b[39m \u001b[43mrel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mto_arrays\u001b[49m\u001b[43m(\u001b[49m\u001b[43mlimit\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mconfig\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mdisplay.limit\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m]\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m1\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 112\u001b[0m has_more \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlen\u001b[39m(tuples) \u001b[38;5;241m>\u001b[39m config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdisplay.limit\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n\u001b[1;32m 113\u001b[0m tuples \u001b[38;5;241m=\u001b[39m tuples[\u001b[38;5;241m0\u001b[39m : config[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdisplay.limit\u001b[39m\u001b[38;5;124m\"\u001b[39m]]\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:826\u001b[0m, in \u001b[0;36mQueryExpression.to_arrays\u001b[0;34m(self, include_key, order_by, limit, offset, squeeze, *attrs)\u001b[0m\n\u001b[1;32m 823\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 824\u001b[0m \u001b[38;5;66;03m# Fetch all columns as structured array\u001b[39;00m\n\u001b[1;32m 825\u001b[0m get \u001b[38;5;241m=\u001b[39m partial(decode_attribute, squeeze\u001b[38;5;241m=\u001b[39msqueeze)\n\u001b[0;32m--> 826\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[43mexpr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcursor\u001b[49m\u001b[43m(\u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mFalse\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[1;32m 827\u001b[0m rows \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mlist\u001b[39m(cursor\u001b[38;5;241m.\u001b[39mfetchall())\n\u001b[1;32m 829\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m rows:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/expression.py:946\u001b[0m, in \u001b[0;36mQueryExpression.cursor\u001b[0;34m(self, as_dict)\u001b[0m\n\u001b[1;32m 944\u001b[0m sql \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmake_sql()\n\u001b[1;32m 945\u001b[0m logger\u001b[38;5;241m.\u001b[39mdebug(sql)\n\u001b[0;32m--> 946\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mconnection\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mquery\u001b[49m\u001b[43m(\u001b[49m\u001b[43msql\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mas_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mas_dict\u001b[49m\u001b[43m)\u001b[49m\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:425\u001b[0m, in \u001b[0;36mConnection.query\u001b[0;34m(self, query, args, as_dict, suppress_warnings, reconnect)\u001b[0m\n\u001b[1;32m 423\u001b[0m cursor \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter\u001b[38;5;241m.\u001b[39mget_cursor(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_conn, as_dict\u001b[38;5;241m=\u001b[39mas_dict)\n\u001b[1;32m 424\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 425\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_execute_query\u001b[49m\u001b[43m(\u001b[49m\u001b[43mcursor\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43msuppress_warnings\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 426\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m errors\u001b[38;5;241m.\u001b[39mLostConnectionError:\n\u001b[1;32m 427\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m reconnect:\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:366\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 364\u001b[0m cursor\u001b[38;5;241m.\u001b[39mexecute(query, args)\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n\u001b[0;32m--> 366\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m translate_query_error(err, query, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter)\n",
- "File \u001b[0;32m~/dev/datajoint-docs-migration/datajoint-python/src/datajoint/connection.py:364\u001b[0m, in \u001b[0;36mConnection._execute_query\u001b[0;34m(self, cursor, query, args, suppress_warnings)\u001b[0m\n\u001b[1;32m 361\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m suppress_warnings:\n\u001b[1;32m 362\u001b[0m \u001b[38;5;66;03m# suppress all warnings arising from underlying SQL library\u001b[39;00m\n\u001b[1;32m 363\u001b[0m warnings\u001b[38;5;241m.\u001b[39msimplefilter(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mignore\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m--> 364\u001b[0m \u001b[43mcursor\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mexecute\u001b[49m\u001b[43m(\u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m err:\n\u001b[1;32m 366\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m translate_query_error(err, query, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39madapter)\n",
- "\u001b[0;31mUndefinedFunction\u001b[0m: function sum(boolean) does not exist\nLINE 1: ...\"subject_id\",\"session_idx\",count(*) as \"n_trials\",sum(correc...\n ^\nHINT: No function matches the given name and argument types. You might need to add explicit type casts.\n"
- ]
+ "data": {
+ "text/html": [
+ "\n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ "
\n",
+ " | | | | | |
\n",
+ " | M001 | \n",
+ "1 | \n",
+ "10 | \n",
+ "8 | \n",
+ "0.50800000000000000000 |
| M001 | \n",
+ "2 | \n",
+ "10 | \n",
+ "9 | \n",
+ "0.46000000000000000000 |
| M002 | \n",
+ "1 | \n",
+ "10 | \n",
+ "7 | \n",
+ "0.45900000000000000000 |
| M002 | \n",
+ "2 | \n",
+ "10 | \n",
+ "6 | \n",
+ "0.50300000000000000000 |
| M003 | \n",
+ "1 | \n",
+ "10 | \n",
+ "6 | \n",
+ "0.51100000000000000000 |
\n",
+ "
\n",
+ " \n",
+ "
Total: 5
\n",
+ " "
+ ],
+ "text/plain": [
+ "*subject_id *session_idx n_trials n_correct avg_rt \n",
+ "+------------+ +------------+ +----------+ +-----------+ +------------+\n",
+ "M001 1 10 8 0.508000000000\n",
+ "M001 2 10 9 0.460000000000\n",
+ "M002 1 10 7 0.459000000000\n",
+ "M002 2 10 6 0.503000000000\n",
+ "M003 1 10 6 0.511000000000\n",
+ " (Total: 5)"
+ ]
+ },
+ "execution_count": 30,
+ "metadata": {},
+ "output_type": "execute_result"
}
],
"source": [
@@ -4530,7 +4637,7 @@
"Session.aggr(\n",
" Session.Trial,\n",
" n_trials='count(*)',\n",
- " n_correct='sum(correct)',\n",
+ " n_correct='sum(CASE WHEN correct THEN 1 ELSE 0 END)',\n",
" avg_rt='avg(reaction_time)'\n",
")"
]
@@ -4541,10 +4648,10 @@
"id": "cell-36",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.853252Z",
- "iopub.status.busy": "2026-01-23T05:08:13.853119Z",
- "iopub.status.idle": "2026-01-23T05:08:13.859512Z",
- "shell.execute_reply": "2026-01-23T05:08:13.859266Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.446697Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.446593Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.451205Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.450970Z"
}
},
"outputs": [
@@ -4692,10 +4799,10 @@
"id": "dw3n6ogbac",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.860981Z",
- "iopub.status.busy": "2026-01-23T05:08:13.860874Z",
- "iopub.status.idle": "2026-01-23T05:08:13.866813Z",
- "shell.execute_reply": "2026-01-23T05:08:13.866574Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.452530Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.452441Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.456916Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.456625Z"
}
},
"outputs": [
@@ -4832,10 +4939,10 @@
"id": "fsvcrz4mxf7",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.868001Z",
- "iopub.status.busy": "2026-01-23T05:08:13.867925Z",
- "iopub.status.idle": "2026-01-23T05:08:13.873594Z",
- "shell.execute_reply": "2026-01-23T05:08:13.873317Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.458324Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.458240Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.462461Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.462209Z"
}
},
"outputs": [
@@ -4985,10 +5092,10 @@
"id": "5knwmdepyvu",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.875125Z",
- "iopub.status.busy": "2026-01-23T05:08:13.875005Z",
- "iopub.status.idle": "2026-01-23T05:08:13.880918Z",
- "shell.execute_reply": "2026-01-23T05:08:13.880603Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.463880Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.463777Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.468479Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.468247Z"
}
},
"outputs": [
@@ -5128,10 +5235,10 @@
"id": "cell-38",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.882282Z",
- "iopub.status.busy": "2026-01-23T05:08:13.882183Z",
- "iopub.status.idle": "2026-01-23T05:08:13.887569Z",
- "shell.execute_reply": "2026-01-23T05:08:13.887336Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.469711Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.469607Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.473934Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.473660Z"
}
},
"outputs": [
@@ -5232,7 +5339,7 @@
" calculated attribute\n",
" \n",
" | 5 | \n",
- "45.0 |
\n",
+ "45.0000000000000000 | \n",
" \n",
" \n",
" Total: 1
\n",
@@ -5241,7 +5348,7 @@
"text/plain": [
"total_sessions avg_duration \n",
"+------------+ +------------+\n",
- "5 45.0 \n",
+ "5 45.00000000000\n",
" (Total: 1)"
]
},
@@ -5262,10 +5369,10 @@
"id": "cell-39",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.888794Z",
- "iopub.status.busy": "2026-01-23T05:08:13.888703Z",
- "iopub.status.idle": "2026-01-23T05:08:13.893728Z",
- "shell.execute_reply": "2026-01-23T05:08:13.893501Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.475380Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.475273Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.479977Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.479522Z"
}
},
"outputs": [
@@ -5398,10 +5505,10 @@
"id": "cell-40",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.895029Z",
- "iopub.status.busy": "2026-01-23T05:08:13.894925Z",
- "iopub.status.idle": "2026-01-23T05:08:13.899801Z",
- "shell.execute_reply": "2026-01-23T05:08:13.899570Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.481963Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.481814Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.486429Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.486157Z"
}
},
"outputs": [
@@ -5540,10 +5647,10 @@
"id": "cell-42",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.901082Z",
- "iopub.status.busy": "2026-01-23T05:08:13.900995Z",
- "iopub.status.idle": "2026-01-23T05:08:13.903693Z",
- "shell.execute_reply": "2026-01-23T05:08:13.903457Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.487869Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.487764Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.490885Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.490571Z"
}
},
"outputs": [
@@ -5554,12 +5661,12 @@
" 'species': 'Mus musculus',\n",
" 'date_of_birth': datetime.date(2026, 1, 15),\n",
" 'sex': 'M',\n",
- " 'weight': 25.3},\n",
+ " 'weight': Decimal('25.3')},\n",
" {'subject_id': 'M002',\n",
" 'species': 'Mus musculus',\n",
" 'date_of_birth': datetime.date(2026, 2, 1),\n",
" 'sex': 'F',\n",
- " 'weight': 22.1}]"
+ " 'weight': Decimal('22.1')}]"
]
},
"execution_count": 38,
@@ -5587,10 +5694,10 @@
"id": "cell-44",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.904891Z",
- "iopub.status.busy": "2026-01-23T05:08:13.904812Z",
- "iopub.status.idle": "2026-01-23T05:08:13.915858Z",
- "shell.execute_reply": "2026-01-23T05:08:13.915551Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.492549Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.492322Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.502357Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.502122Z"
}
},
"outputs": [
@@ -5662,12 +5769,12 @@
""
],
"text/plain": [
- " species date_of_birth sex weight\n",
- "subject_id \n",
- "M001 Mus musculus 2026-01-15 M 25.3\n",
- "M002 Mus musculus 2026-02-01 F 22.1\n",
- "M003 Mus musculus 2026-02-15 M 26.8\n",
- "R001 Rattus norvegicus 2024-01-01 F 280.5"
+ " species date_of_birth sex weight\n",
+ "subject_id \n",
+ "M001 Mus musculus 2026-01-15 M 25.3\n",
+ "M002 Mus musculus 2026-02-01 F 22.1\n",
+ "M003 Mus musculus 2026-02-15 M 26.8\n",
+ "R001 Rattus norvegicus 2024-01-01 F 280.5"
]
},
"execution_count": 39,
@@ -5695,21 +5802,21 @@
"id": "cell-46",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:13.917195Z",
- "iopub.status.busy": "2026-01-23T05:08:13.917092Z",
- "iopub.status.idle": "2026-01-23T05:08:13.920672Z",
- "shell.execute_reply": "2026-01-23T05:08:13.920419Z"
+ "iopub.execute_input": "2026-01-23T15:41:54.503729Z",
+ "iopub.status.busy": "2026-01-23T15:41:54.503631Z",
+ "iopub.status.idle": "2026-01-23T15:41:54.506689Z",
+ "shell.execute_reply": "2026-01-23T15:41:54.506432Z"
}
},
"outputs": [
{
"data": {
"text/plain": [
- "array([('M001', 'Mus musculus', datetime.date(2026, 1, 15), 'M', 25.3),\n",
- " ('M002', 'Mus musculus', datetime.date(2026, 2, 1), 'F', 22.1),\n",
- " ('M003', 'Mus musculus', datetime.date(2026, 2, 15), 'M', 26.8),\n",
- " ('R001', 'Rattus norvegicus', datetime.date(2024, 1, 1), 'F', 280.5)],\n",
- " dtype=[('subject_id', 'O'), ('species', 'O'), ('date_of_birth', 'O'), ('sex', 'O'), ('weight', '15\n",
"12 | \n",
"0.8 | \n",
- "0.48129687 | | M001 | \n",
+ "0.482 |
| M001 | \n",
"2 | \n",
"15 | \n",
"12 | \n",
"0.8 | \n",
- "0.46870047 |
| M002 | \n",
+ "0.46933332 |
| M002 | \n",
"1 | \n",
"15 | \n",
"9 | \n",
"0.6 | \n",
- "0.49343443 |
\n",
+ "0.49266666 | \n",
" \n",
" \n",
" Total: 3
\n",
@@ -408,9 +409,9 @@
"text/plain": [
"*subject_id *session_idx n_trials n_correct accuracy mean_rt \n",
"+------------+ +------------+ +----------+ +-----------+ +----------+ +------------+\n",
- "M001 1 15 12 0.8 0.48129687 \n",
- "M001 2 15 12 0.8 0.46870047 \n",
- "M002 1 15 9 0.6 0.49343443 \n",
+ "M001 1 15 12 0.8 0.482 \n",
+ "M001 2 15 12 0.8 0.46933332 \n",
+ "M002 1 15 9 0.6 0.49266666 \n",
" (Total: 3)"
]
},
@@ -446,10 +447,10 @@
"id": "cell-10",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.006679Z",
- "iopub.status.busy": "2026-01-23T05:08:16.006539Z",
- "iopub.status.idle": "2026-01-23T05:08:16.021846Z",
- "shell.execute_reply": "2026-01-23T05:08:16.021532Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.652378Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.652205Z",
+ "iopub.status.idle": "2026-01-23T15:41:56.665743Z",
+ "shell.execute_reply": "2026-01-23T15:41:56.665449Z"
}
},
"outputs": [
@@ -609,10 +610,10 @@
"id": "cell-12",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.023277Z",
- "iopub.status.busy": "2026-01-23T05:08:16.023156Z",
- "iopub.status.idle": "2026-01-23T05:08:16.034902Z",
- "shell.execute_reply": "2026-01-23T05:08:16.034625Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.667101Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.667003Z",
+ "iopub.status.idle": "2026-01-23T15:41:56.677864Z",
+ "shell.execute_reply": "2026-01-23T15:41:56.677563Z"
}
},
"outputs": [],
@@ -628,8 +629,9 @@
" \"\"\"\n",
"\n",
" def make(self, key):\n",
- " # Fetch trial data\n",
+ " # Fetch trial data (convert decimal to float for computation)\n",
" correct, rt = (Session.Trial & key).to_arrays('correct', 'reaction_time')\n",
+ " rt = rt.astype(float)\n",
" \n",
" # Apply method-specific analysis\n",
" if key['method_name'] == 'basic':\n",
@@ -650,10 +652,10 @@
"id": "cell-13",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.036478Z",
- "iopub.status.busy": "2026-01-23T05:08:16.036360Z",
- "iopub.status.idle": "2026-01-23T05:08:16.082299Z",
- "shell.execute_reply": "2026-01-23T05:08:16.082047Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.679280Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.679183Z",
+ "iopub.status.idle": "2026-01-23T15:41:56.724604Z",
+ "shell.execute_reply": "2026-01-23T15:41:56.724350Z"
}
},
"outputs": [
@@ -678,7 +680,7 @@
"output_type": "stream",
"text": [
"\r",
- "SessionAnalysis: 100%|██████████| 6/6 [00:00<00:00, 513.25it/s]"
+ "SessionAnalysis: 100%|██████████| 6/6 [00:00<00:00, 479.62it/s]"
]
},
{
@@ -796,19 +798,19 @@
"0.8 | | M001 | \n",
"1 | \n",
"weighted | \n",
- "0.8050056 |
| M001 | \n",
+ "0.80586994 |
| M001 | \n",
"2 | \n",
"basic | \n",
"0.8 |
| M001 | \n",
"2 | \n",
"weighted | \n",
- "0.76322025 |
| M002 | \n",
+ "0.7651669 |
| M002 | \n",
"1 | \n",
"basic | \n",
"0.6 |
| M002 | \n",
"1 | \n",
"weighted | \n",
- "0.5132756 |
\n",
+ "0.5117927 | \n",
" \n",
" \n",
" Total: 6
\n",
@@ -818,11 +820,11 @@
"*subject_id *session_idx *method_name score \n",
"+------------+ +------------+ +------------+ +------------+\n",
"M001 1 basic 0.8 \n",
- "M001 1 weighted 0.8050056 \n",
+ "M001 1 weighted 0.80586994 \n",
"M001 2 basic 0.8 \n",
- "M001 2 weighted 0.76322025 \n",
+ "M001 2 weighted 0.7651669 \n",
"M002 1 basic 0.6 \n",
- "M002 1 weighted 0.5132756 \n",
+ "M002 1 weighted 0.5117927 \n",
" (Total: 6)"
]
},
@@ -856,10 +858,10 @@
"id": "cell-15",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.083684Z",
- "iopub.status.busy": "2026-01-23T05:08:16.083569Z",
- "iopub.status.idle": "2026-01-23T05:08:16.103686Z",
- "shell.execute_reply": "2026-01-23T05:08:16.103346Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.726094Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.725981Z",
+ "iopub.status.idle": "2026-01-23T15:41:56.747681Z",
+ "shell.execute_reply": "2026-01-23T15:41:56.747355Z"
}
},
"outputs": [],
@@ -890,8 +892,8 @@
" self.insert1({**key, 'n_analyzed': 0})\n",
" return\n",
" \n",
- " # Calculate percentiles\n",
- " rts = [t['reaction_time'] for t in trial_data]\n",
+ " # Calculate percentiles (convert decimal to float)\n",
+ " rts = [float(t['reaction_time']) for t in trial_data]\n",
" median_rt = np.median(rts)\n",
" \n",
" # Insert master entry\n",
@@ -900,12 +902,13 @@
" # Insert part entries\n",
" parts = []\n",
" for t in trial_data:\n",
- " percentile = sum(rt <= t['reaction_time'] for rt in rts) / len(rts) * 100\n",
+ " rt = float(t['reaction_time'])\n",
+ " percentile = sum(r <= rt for r in rts) / len(rts) * 100\n",
" parts.append({\n",
" **key,\n",
" 'trial_idx': t['trial_idx'],\n",
" 'rt_percentile': float(percentile),\n",
- " 'is_fast': t['reaction_time'] < median_rt\n",
+ " 'is_fast': rt < median_rt\n",
" })\n",
" \n",
" self.TrialResult.insert(parts)"
@@ -917,10 +920,10 @@
"id": "cell-16",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.105401Z",
- "iopub.status.busy": "2026-01-23T05:08:16.105276Z",
- "iopub.status.idle": "2026-01-23T05:08:16.133364Z",
- "shell.execute_reply": "2026-01-23T05:08:16.133057Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.749531Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.749271Z",
+ "iopub.status.idle": "2026-01-23T15:41:56.778472Z",
+ "shell.execute_reply": "2026-01-23T15:41:56.778192Z"
}
},
"outputs": [
@@ -937,7 +940,7 @@
"output_type": "stream",
"text": [
"\r",
- "TrialAnalysis: 100%|██████████| 3/3 [00:00<00:00, 226.03it/s]"
+ "TrialAnalysis: 100%|██████████| 3/3 [00:00<00:00, 209.78it/s]"
]
},
{
@@ -962,8 +965,8 @@
"M001 1 4 73.333336 False \n",
"M001 1 5 40.0 True \n",
"M001 1 6 53.333332 False \n",
- "M001 1 7 46.666668 True \n",
- "M001 1 8 86.666664 False \n",
+ "M001 1 7 53.333332 False \n",
+ "M001 1 8 93.333336 False \n",
"M001 1 9 60.0 False \n",
"M001 1 10 80.0 False \n",
"M001 1 11 6.6666665 True \n",
@@ -1007,10 +1010,10 @@
"id": "cell-18",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.134920Z",
- "iopub.status.busy": "2026-01-23T05:08:16.134810Z",
- "iopub.status.idle": "2026-01-23T05:08:16.145705Z",
- "shell.execute_reply": "2026-01-23T05:08:16.145415Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.779957Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.779824Z",
+ "iopub.status.idle": "2026-01-23T15:41:56.790399Z",
+ "shell.execute_reply": "2026-01-23T15:41:56.790120Z"
}
},
"outputs": [],
@@ -1048,10 +1051,10 @@
"id": "cell-19",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.147188Z",
- "iopub.status.busy": "2026-01-23T05:08:16.147069Z",
- "iopub.status.idle": "2026-01-23T05:08:16.168754Z",
- "shell.execute_reply": "2026-01-23T05:08:16.168365Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.791810Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.791713Z",
+ "iopub.status.idle": "2026-01-23T15:41:56.813944Z",
+ "shell.execute_reply": "2026-01-23T15:41:56.813644Z"
}
},
"outputs": [
@@ -1068,7 +1071,7 @@
"output_type": "stream",
"text": [
"\r",
- "SubjectSummary: 100%|██████████| 2/2 [00:00<00:00, 664.23it/s]"
+ "SubjectSummary: 100%|██████████| 2/2 [00:00<00:00, 537.35it/s]"
]
},
{
@@ -1227,10 +1230,10 @@
"id": "cell-21",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.170418Z",
- "iopub.status.busy": "2026-01-23T05:08:16.170288Z",
- "iopub.status.idle": "2026-01-23T05:08:16.536475Z",
- "shell.execute_reply": "2026-01-23T05:08:16.536065Z"
+ "iopub.execute_input": "2026-01-23T15:41:56.815537Z",
+ "iopub.status.busy": "2026-01-23T15:41:56.815429Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.216597Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.216017Z"
}
},
"outputs": [
@@ -1405,7 +1408,7 @@
""
],
"text/plain": [
- ""
+ ""
]
},
"execution_count": 13,
@@ -1433,10 +1436,10 @@
"id": "cell-23",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.538197Z",
- "iopub.status.busy": "2026-01-23T05:08:16.538037Z",
- "iopub.status.idle": "2026-01-23T05:08:16.581366Z",
- "shell.execute_reply": "2026-01-23T05:08:16.581029Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.218395Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.218234Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.263863Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.263511Z"
}
},
"outputs": [
@@ -1460,7 +1463,7 @@
"output_type": "stream",
"text": [
"\r",
- "SessionSummary: 100%|██████████| 1/1 [00:00<00:00, 388.04it/s]"
+ "SessionSummary: 100%|██████████| 1/1 [00:00<00:00, 397.79it/s]"
]
},
{
@@ -1483,7 +1486,7 @@
"output_type": "stream",
"text": [
"\r",
- "TrialAnalysis: 100%|██████████| 1/1 [00:00<00:00, 342.48it/s]"
+ "TrialAnalysis: 100%|██████████| 1/1 [00:00<00:00, 301.03it/s]"
]
},
{
@@ -1491,7 +1494,7 @@
"output_type": "stream",
"text": [
"\n",
- "[2026-01-22 23:08:16,569][INFO]: Deleting 1 rows from \"tutorial_computation\".\"__subject_summary\"\n"
+ "[2026-01-23 09:41:57,250][INFO]: Deleting 1 rows from \"tutorial_computation\".\"__subject_summary\"\n"
]
},
{
@@ -1507,7 +1510,7 @@
"output_type": "stream",
"text": [
"\r",
- "SubjectSummary: 100%|██████████| 1/1 [00:00<00:00, 551.59it/s]"
+ "SubjectSummary: 100%|██████████| 1/1 [00:00<00:00, 544.01it/s]"
]
},
{
@@ -1694,10 +1697,10 @@
"id": "cell-25",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.582773Z",
- "iopub.status.busy": "2026-01-23T05:08:16.582660Z",
- "iopub.status.idle": "2026-01-23T05:08:16.597768Z",
- "shell.execute_reply": "2026-01-23T05:08:16.597527Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.265583Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.265355Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.282832Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.282551Z"
}
},
"outputs": [
@@ -1731,10 +1734,10 @@
"id": "cell-27",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.599038Z",
- "iopub.status.busy": "2026-01-23T05:08:16.598930Z",
- "iopub.status.idle": "2026-01-23T05:08:16.609996Z",
- "shell.execute_reply": "2026-01-23T05:08:16.609696Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.284340Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.284219Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.296060Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.295767Z"
}
},
"outputs": [
@@ -1768,10 +1771,10 @@
"id": "cell-29",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.611306Z",
- "iopub.status.busy": "2026-01-23T05:08:16.611209Z",
- "iopub.status.idle": "2026-01-23T05:08:16.621516Z",
- "shell.execute_reply": "2026-01-23T05:08:16.621230Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.297444Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.297345Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.309517Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.309251Z"
}
},
"outputs": [
@@ -1803,10 +1806,10 @@
"id": "cell-31",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.622906Z",
- "iopub.status.busy": "2026-01-23T05:08:16.622811Z",
- "iopub.status.idle": "2026-01-23T05:08:16.633705Z",
- "shell.execute_reply": "2026-01-23T05:08:16.633406Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.310873Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.310757Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.322664Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.322321Z"
}
},
"outputs": [
@@ -1840,10 +1843,10 @@
"id": "cell-33",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.635275Z",
- "iopub.status.busy": "2026-01-23T05:08:16.635168Z",
- "iopub.status.idle": "2026-01-23T05:08:16.645040Z",
- "shell.execute_reply": "2026-01-23T05:08:16.644742Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.324232Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.324108Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.334411Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.334085Z"
}
},
"outputs": [],
@@ -1880,10 +1883,10 @@
"id": "cell-34",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.646461Z",
- "iopub.status.busy": "2026-01-23T05:08:16.646353Z",
- "iopub.status.idle": "2026-01-23T05:08:16.664045Z",
- "shell.execute_reply": "2026-01-23T05:08:16.663798Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.335957Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.335832Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.357363Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.356898Z"
}
},
"outputs": [
@@ -1907,7 +1910,7 @@
"output_type": "stream",
"text": [
"\r",
- "QualityCheck: 100%|██████████| 4/4 [00:00<00:00, 649.25it/s]"
+ "QualityCheck: 100%|██████████| 4/4 [00:00<00:00, 544.80it/s]"
]
},
{
@@ -2134,10 +2137,10 @@
"id": "cell-36",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:16.665320Z",
- "iopub.status.busy": "2026-01-23T05:08:16.665219Z",
- "iopub.status.idle": "2026-01-23T05:08:16.669932Z",
- "shell.execute_reply": "2026-01-23T05:08:16.669690Z"
+ "iopub.execute_input": "2026-01-23T15:41:57.359269Z",
+ "iopub.status.busy": "2026-01-23T15:41:57.359130Z",
+ "iopub.status.idle": "2026-01-23T15:41:57.363991Z",
+ "shell.execute_reply": "2026-01-23T15:41:57.363644Z"
}
},
"outputs": [],
diff --git a/src/tutorials/basics/06-object-storage.ipynb b/src/tutorials/basics/06-object-storage.ipynb
index 5f7c2fe5..e1b0cc10 100644
--- a/src/tutorials/basics/06-object-storage.ipynb
+++ b/src/tutorials/basics/06-object-storage.ipynb
@@ -25,10 +25,10 @@
"id": "cell-1",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:20.079811Z",
- "iopub.status.busy": "2026-01-23T05:08:20.079683Z",
- "iopub.status.idle": "2026-01-23T05:08:20.920919Z",
- "shell.execute_reply": "2026-01-23T05:08:20.920561Z"
+ "iopub.execute_input": "2026-01-23T15:42:00.874371Z",
+ "iopub.status.busy": "2026-01-23T15:42:00.874233Z",
+ "iopub.status.idle": "2026-01-23T15:42:01.721892Z",
+ "shell.execute_reply": "2026-01-23T15:42:01.721517Z"
}
},
"outputs": [
@@ -36,7 +36,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
- "[2026-01-22 23:08:20,910][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
+ "[2026-01-23 09:42:01,713][INFO]: DataJoint 2.1.0a5 connected to postgres@localhost:5432\n"
]
}
],
@@ -100,10 +100,10 @@
"id": "cell-4",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:20.922865Z",
- "iopub.status.busy": "2026-01-23T05:08:20.922641Z",
- "iopub.status.idle": "2026-01-23T05:08:20.940467Z",
- "shell.execute_reply": "2026-01-23T05:08:20.940177Z"
+ "iopub.execute_input": "2026-01-23T15:42:01.723710Z",
+ "iopub.status.busy": "2026-01-23T15:42:01.723515Z",
+ "iopub.status.idle": "2026-01-23T15:42:01.742076Z",
+ "shell.execute_reply": "2026-01-23T15:42:01.741802Z"
}
},
"outputs": [],
@@ -124,10 +124,10 @@
"id": "cell-5",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:20.942151Z",
- "iopub.status.busy": "2026-01-23T05:08:20.942027Z",
- "iopub.status.idle": "2026-01-23T05:08:21.442924Z",
- "shell.execute_reply": "2026-01-23T05:08:21.442610Z"
+ "iopub.execute_input": "2026-01-23T15:42:01.743638Z",
+ "iopub.status.busy": "2026-01-23T15:42:01.743511Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.212130Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.211755Z"
}
},
"outputs": [
@@ -267,10 +267,10 @@
"id": "cell-6",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.444485Z",
- "iopub.status.busy": "2026-01-23T05:08:21.444278Z",
- "iopub.status.idle": "2026-01-23T05:08:21.551217Z",
- "shell.execute_reply": "2026-01-23T05:08:21.550954Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.213809Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.213649Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.323587Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.323227Z"
}
},
"outputs": [
@@ -314,10 +314,10 @@
"id": "cell-8",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.552707Z",
- "iopub.status.busy": "2026-01-23T05:08:21.552592Z",
- "iopub.status.idle": "2026-01-23T05:08:21.567840Z",
- "shell.execute_reply": "2026-01-23T05:08:21.567598Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.325131Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.324989Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.342695Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.342376Z"
}
},
"outputs": [
@@ -376,10 +376,10 @@
"id": "cell-10",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.569153Z",
- "iopub.status.busy": "2026-01-23T05:08:21.569041Z",
- "iopub.status.idle": "2026-01-23T05:08:21.571386Z",
- "shell.execute_reply": "2026-01-23T05:08:21.571129Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.344249Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.344125Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.346604Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.346282Z"
}
},
"outputs": [
@@ -387,7 +387,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Store configured at: /var/folders/cn/dpwf5t7j3gd8gzyw2r7dhm8r0000gn/T/dj_store_9jgyts0_\n"
+ "Store configured at: /var/folders/cn/dpwf5t7j3gd8gzyw2r7dhm8r0000gn/T/dj_store_eka20zli\n"
]
}
],
@@ -421,10 +421,10 @@
"id": "cell-12",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.572606Z",
- "iopub.status.busy": "2026-01-23T05:08:21.572506Z",
- "iopub.status.idle": "2026-01-23T05:08:21.580600Z",
- "shell.execute_reply": "2026-01-23T05:08:21.580323Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.348401Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.348159Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.357418Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.357073Z"
}
},
"outputs": [],
@@ -445,10 +445,10 @@
"id": "cell-13",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.582017Z",
- "iopub.status.busy": "2026-01-23T05:08:21.581891Z",
- "iopub.status.idle": "2026-01-23T05:08:21.837148Z",
- "shell.execute_reply": "2026-01-23T05:08:21.836855Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.359203Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.359080Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.617085Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.616758Z"
}
},
"outputs": [
@@ -591,10 +591,10 @@
"id": "cell-14",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.838610Z",
- "iopub.status.busy": "2026-01-23T05:08:21.838482Z",
- "iopub.status.idle": "2026-01-23T05:08:21.887255Z",
- "shell.execute_reply": "2026-01-23T05:08:21.886976Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.618619Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.618487Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.666904Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.666591Z"
}
},
"outputs": [
@@ -620,10 +620,10 @@
"id": "cell-15",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.888677Z",
- "iopub.status.busy": "2026-01-23T05:08:21.888588Z",
- "iopub.status.idle": "2026-01-23T05:08:21.891176Z",
- "shell.execute_reply": "2026-01-23T05:08:21.890866Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.668406Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.668314Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.670957Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.670700Z"
}
},
"outputs": [
@@ -631,7 +631,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "_hash/tutorial_oas/ryzxkyvsmgia4k6gc6njbi4u2i: 7,685,094 bytes\n"
+ "_hash/tutorial_oas/kfwdlxmcndkk2xt4gecq22jbz4: 7,685,287 bytes\n"
]
}
],
@@ -660,10 +660,10 @@
"id": "cell-17",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.892713Z",
- "iopub.status.busy": "2026-01-23T05:08:21.892618Z",
- "iopub.status.idle": "2026-01-23T05:08:21.907006Z",
- "shell.execute_reply": "2026-01-23T05:08:21.906687Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.672493Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.672347Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.687576Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.687312Z"
}
},
"outputs": [
@@ -720,10 +720,10 @@
"id": "8q80k9agb3c",
"metadata": {
"execution": {
- "iopub.execute_input": "2026-01-23T05:08:21.908525Z",
- "iopub.status.busy": "2026-01-23T05:08:21.908401Z",
- "iopub.status.idle": "2026-01-23T05:08:21.923848Z",
- "shell.execute_reply": "2026-01-23T05:08:21.923569Z"
+ "iopub.execute_input": "2026-01-23T15:42:02.689042Z",
+ "iopub.status.busy": "2026-01-23T15:42:02.688903Z",
+ "iopub.status.idle": "2026-01-23T15:42:02.706761Z",
+ "shell.execute_reply": "2026-01-23T15:42:02.706481Z"
}
},
"outputs": [],
@@ -735,7 +735,7 @@
" session_id : int32\n",
" ---\n",
" n_frames : int32\n",
- " frame_rate : float32\n",
+ " frame_rate : decimal(4,1)\n",
" frames :