From f2672f8425429315ebdd8b3c35ff012d7e4edbc4 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Sat, 30 Apr 2022 05:46:33 +0000 Subject: [PATCH] Update equipment table --- notebooks/03-process.ipynb | 6 ++++-- notebooks/scripts/03-process.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/notebooks/03-process.ipynb b/notebooks/03-process.ipynb index 807462a..7bb3993 100644 --- a/notebooks/03-process.ipynb +++ b/notebooks/03-process.ipynb @@ -115,7 +115,9 @@ "metadata": {}, "outputs": [], "source": [ - "Equipment.insert1(dict(acquisition_hardware='UCLA Miniscope'))" + "Equipment.insert1(dict(equipment='UCLA Miniscope',\n", + " modality='miniscope',\n", + " description=''))" ] }, { @@ -252,7 +254,7 @@ "outputs": [], "source": [ "miniscope.Recording.insert1(dict(**recording_key, \n", - " acquisition_hardware='UCLA Miniscope', \n", + " equipment='UCLA Miniscope', \n", " acquisition_software='Miniscope-DAQ-V4',\n", " recording_directory='subject1/session1',\n", " recording_notes='No notes for this session.'))" diff --git a/notebooks/scripts/03-process.py b/notebooks/scripts/03-process.py index 3bf245b..7255d7c 100644 --- a/notebooks/scripts/03-process.py +++ b/notebooks/scripts/03-process.py @@ -57,7 +57,9 @@ # ## Insert an entry into `lab.Equipment` -Equipment.insert1(dict(acquisition_hardware='UCLA Miniscope')) +Equipment.insert1(dict(equipment='UCLA Miniscope', + modality='miniscope', + description='')) # ## Insert an entry into `session.Session` @@ -95,7 +97,7 @@ recording_id=0) miniscope.Recording.insert1(dict(**recording_key, - acquisition_hardware='UCLA Miniscope', + equipment='UCLA Miniscope', acquisition_software='Miniscope-DAQ-V4', recording_directory='subject1/session1', recording_notes='No notes for this session.'))