Skip to content

Commit ad69298

Browse files
committed
Revert deleting SessionDirectory insertion
1 parent abc82ba commit ad69298

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

notebooks/tutorial.ipynb

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,25 @@
334334
"### **Step 2: Register the Electrophysiology Recording information for each Probe**\n"
335335
]
336336
},
337+
{
338+
"cell_type": "markdown",
339+
"metadata": {},
340+
"source": [
341+
"Every experimental session produces a set of data files. The purpose of the `SessionDirectory` table is to locate these files. It references a directory path relative to a root directory, defined in `dj.config[\\\"custom\\\"]`. More information about `dj.config` is provided in the [Documentation](https://datajoint.com/docs/elements/user-guide/)."
342+
]
343+
},
344+
{
345+
"cell_type": "code",
346+
"execution_count": null,
347+
"metadata": {},
348+
"outputs": [],
349+
"source": [
350+
"session.SessionDirectory.insert1(\n",
351+
" dict(**session_key, session_dir=\"raw/subject5/session1\")\n",
352+
")\n",
353+
"session.SessionDirectory()"
354+
]
355+
},
337356
{
338357
"attachments": {},
339358
"cell_type": "markdown",
@@ -909,7 +928,7 @@
909928
"name": "python",
910929
"nbconvert_exporter": "python",
911930
"pygments_lexer": "ipython3",
912-
"version": "3.9.18"
931+
"version": "3.9.17"
913932
},
914933
"orig_nbformat": 4,
915934
"vscode": {

0 commit comments

Comments
 (0)