diff --git a/notebooks/04_PopulateConfigFile.ipynb b/notebooks/04_PopulateConfigFile.ipynb index 6770271c6..e7bf96f1e 100644 --- a/notebooks/04_PopulateConfigFile.ipynb +++ b/notebooks/04_PopulateConfigFile.ipynb @@ -149,7 +149,8 @@ "source": [ "## Example Ingestion with Real Data\n", "\n", - "For this example, you will need to download the NWB file `sub-JDS-NFN-AM2_behavior+ecephys.nwb`\n", + "For this example, you will need to download the 5 GB NWB file \n", + "`sub-JDS-NFN-AM2_behavior+ecephys.nwb`\n", "from dandiset 000447 here: \n", "https://dandiarchive.org/dandiset/000447/0.230316.2133/files?location=sub-JDS-NFN-AM2&page=1\n", "\n", @@ -160,7 +161,20 @@ "data was collected from a SpikeGadgets system with an Intan amplifier. This\n", "matches an existing entry in the `DataAcquisitionDevice` table with name\n", "\"data_acq_device0\". We will create a configuration YAML file to associate\n", - "this entry with the NWB file." + "this entry with the NWB file.\n", + "\n", + "If you are connected to the Frank lab database, please rename any downloaded\n", + "files (e.g., `example20200101_yourname.nwb`) to avoid naming collisions, as the\n", + "file name acts as the primary key across key tables." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "nwb_file_name = \"sub-JDS-NFN-AM2_behavior+ecephys_rly.nwb\"" ] }, { @@ -170,7 +184,7 @@ "outputs": [], "source": [ "# this configuration yaml file should be placed next to the downloaded NWB file\n", - "yaml_config_path = \"sub-JDS-NFN-AM2_behavior+ecephys_spyglass_config.yaml\"\n", + "yaml_config_path = \"sub-JDS-NFN-AM2_behavior+ecephys_rly_spyglass_config.yaml\"\n", "with open(yaml_config_path, \"w\") as config_file:\n", " lines = [\n", " \"DataAcquisitionDevice\",\n", @@ -194,7 +208,6 @@ "source": [ "import spyglass.data_import as sgi\n", "\n", - "nwb_file_name = \"sub-JDS-NFN-AM2_behavior+ecephys.nwb\"\n", "sgi.insert_sessions(nwb_file_name)" ] },