Skip to content

Commit

Permalink
Update equipment table
Browse files Browse the repository at this point in the history
  • Loading branch information
kabilar committed Apr 30, 2022
1 parent f4a61a7 commit f2672f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions notebooks/03-process.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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=''))"
]
},
{
Expand Down Expand Up @@ -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.'))"
Expand Down
6 changes: 4 additions & 2 deletions notebooks/scripts/03-process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down Expand Up @@ -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.'))
Expand Down

0 comments on commit f2672f8

Please sign in to comment.