Skip to content

Commit 18968a0

Browse files
committed
[DATALAD RUNCMD] run codespell throughout fixing typo automagically
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 5c4af1b commit 18968a0

File tree

33 files changed

+60
-60
lines changed

33 files changed

+60
-60
lines changed

000005/DataJoint/DJ-NWB-Yu-Gutnisky-2016/notebooks/Yu-Gutnisky-2016-examples.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,10 +1760,10 @@
17601760
" <span class=\"djtooltiptext\">in mm, anterior positive, posterior negative</span>\n",
17611761
" </div></th><th><div class=\"djtooltip\">\n",
17621762
" <p id=\"primary\">coordinate_ml</p>\n",
1763-
" <span class=\"djtooltiptext\">in mm, always postive, number larger when more lateral</span>\n",
1763+
" <span class=\"djtooltiptext\">in mm, always positive, number larger when more lateral</span>\n",
17641764
" </div></th><th><div class=\"djtooltip\">\n",
17651765
" <p id=\"primary\">coordinate_dv</p>\n",
1766-
" <span class=\"djtooltiptext\">in mm, always postive, number larger when more ventral (deeper)</span>\n",
1766+
" <span class=\"djtooltiptext\">in mm, always positive, number larger when more ventral (deeper)</span>\n",
17671767
" </div></th><th><div class=\"djtooltip\">\n",
17681768
" <p id=\"nonprimary\">spike_times</p>\n",
17691769
" <span class=\"djtooltiptext\">(s) time of each spike, with respect to the start of session</span>\n",

000005/DataJoint/DJ-NWB-Yu-Gutnisky-2016/pipeline/acquisition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Schema of aquisition information.
2+
Schema of acquisition information.
33
'''
44
import re
55
import os

000005/DataJoint/DJ-NWB-Yu-Gutnisky-2016/pipeline/reference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ class ActionLocation(dj.Manual):
9393
-> BrainLocation
9494
-> CoordinateReference
9595
coordinate_ap: decimal(4,2) # in mm, anterior positive, posterior negative
96-
coordinate_ml: decimal(4,2) # in mm, always postive, number larger when more lateral
97-
coordinate_dv: decimal(4,2) # in mm, always postive, number larger when more ventral (deeper)
96+
coordinate_ml: decimal(4,2) # in mm, always positive, number larger when more lateral
97+
coordinate_dv: decimal(4,2) # in mm, always positive, number larger when more ventral (deeper)
9898
"""
9999

100100

000005/DataJoint/DJ-NWB-Yu-Gutnisky-2016/pipeline/virus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Virus(dj.Manual):
2929
virus: varchar(64) # name of the virus
3030
---
3131
-> VirusSource
32-
virus_lot_number="": varchar(128) # lot numnber of the virus
32+
virus_lot_number="": varchar(128) # lot number of the virus
3333
virus_titer=null: float # x10^12GC/mL
3434
"""
3535

000006/DataJoint/DJ-NWB-Economo-2018/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ This notebook presents data and results associated with the following papers:
88
>Michael N. Economo, Sarada Viswanathan, Bosiljka Tasic, Erhan Bas, Johan Winnubst, Vilas Menon, Lucas T. Graybuck, Thuc Nghi Nguyen, Kimberly A. Smith, Zizhen Yao, Lihua Wang, Charles R. Gerfen, Jayaram Chandrashekar, Hongkui Zeng, Loren L. Looger & Karel Svoboda. "Distinct descending motor cortex
99
pathways and their roles in movement" (2018) Nature (https://doi.org/10.1038/s41586-018-0642-9)
1010

11-
The study identified two types of pyramidal track (PT) neuron in the mouse motor cortex, referred to as PT<sub>upper</sub> and PT<sub>lower</sub>. Further investigation using extracellular recordings in the anterior lateral motor cortex (ALM) during a delay-response task, the study revealed specialized roles for the two neuron types: i) PT<sub>upper</sub> neurons are preferentially involed in motor planning, ii) PT<sub>lower</sub> neurons are more involved in movement execution.
11+
The study identified two types of pyramidal track (PT) neuron in the mouse motor cortex, referred to as PT<sub>upper</sub> and PT<sub>lower</sub>. Further investigation using extracellular recordings in the anterior lateral motor cortex (ALM) during a delay-response task, the study revealed specialized roles for the two neuron types: i) PT<sub>upper</sub> neurons are preferentially involved in motor planning, ii) PT<sub>lower</sub> neurons are more involved in movement execution.
1212

1313
A ***DataJoint*** data pipeline has been constructed for this study, with the presented data ingested into this pipeline. This notebook demonstrates the queries, processing, and reproduction of several figures from the paper. From the pipeline, export capability to ***NWB 2.0*** format is also available.
1414

1515
## About the data
1616

1717
The dataset comprises of extracellular recordings and spike sorted results of the mouse's ALM during a delay-response task. The behavior data includes detailed description of the trial structure (e.g. trial timing, trial instruction, trial response, etc.) and the timing of the lick events (e.g. lick left, lick right onset).
1818

19-
Original data is publically available at: doi: 10.25378/janelia.7007846
19+
Original data is publicly available at: doi: 10.25378/janelia.7007846
2020

2121
The data in original MATLAB format (.mat) have been ingested into a DataJoint data pipeline presented below.
2222

000006/DataJoint/DJ-NWB-Economo-2018/notebooks/Economo-2018-examples.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
">Michael N. Economo, Sarada Viswanathan, Bosiljka Tasic, Erhan Bas, Johan Winnubst, Vilas Menon, Lucas T. Graybuck,Thuc Nghi Nguyen, Kimberly A. Smith, Zizhen Yao, Lihua Wang, Charles R. Gerfen, Jayaram Chandrashekar, Hongkui Zeng, Loren L. Looger & Karel Svoboda. \"Distinct descending motor cortex\n",
1111
"pathways and their roles in movement\" (2018) Nature (https://doi.org/10.1038/s41586-018-0642-9)\n",
1212
"\n",
13-
"The study identified two types of pyramidal track (PT) neuron in the mouse motor cortex, referred to as PT<sub>upper</sub> and PT<sub>lower</sub>. Further investigation using extracellular recordings in the anterior lateral motor cortex (ALM) during a delay-response task, the study revealed specialized roles for the two neuron types: i) PT<sub>upper</sub> neurons are preferentially involed in motor planning, ii) PT<sub>lower</sub> neurons are more involved in movement execution. \n",
13+
"The study identified two types of pyramidal track (PT) neuron in the mouse motor cortex, referred to as PT<sub>upper</sub> and PT<sub>lower</sub>. Further investigation using extracellular recordings in the anterior lateral motor cortex (ALM) during a delay-response task, the study revealed specialized roles for the two neuron types: i) PT<sub>upper</sub> neurons are preferentially involved in motor planning, ii) PT<sub>lower</sub> neurons are more involved in movement execution. \n",
1414
"\n",
1515
"A ***DataJoint*** data pipeline has been constructed for this study, with the presented data ingested into this pipeline. This notebook demonstrates the queries, processing, and reproduction of several figures from the paper. From the pipeline, export capability to ***NWB 2.0*** format is also available."
1616
]
@@ -23,7 +23,7 @@
2323
"\n",
2424
"The dataset comprises of extracellular recordings and spike sorted results of the mouse's ALM during a delay-response task. The behavior data includes detailed description of the trial structure (e.g. trial timing, trial instruction, trial response, etc.) and the timing of the lick events (e.g. lick left, lick right onset). \n",
2525
"\n",
26-
"Original data is publically available at: doi: 10.25378/janelia.7007846\n",
26+
"Original data is publicly available at: doi: 10.25378/janelia.7007846\n",
2727
"\n",
2828
"The data in original MATLAB format (.mat) have been ingested into a DataJoint data pipeline presented below. \n",
2929
"\n",

000006/DataJoint/DJ-NWB-Economo-2018/pipeline/reference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ class ActionLocation(dj.Manual):
7373
-> BrainLocation
7474
-> CoordinateReference
7575
coordinate_ap: decimal(4,2) # in mm, anterior positive, posterior negative
76-
coordinate_ml: decimal(4,2) # in mm, always postive, number larger when more lateral
77-
coordinate_dv: decimal(4,2) # in mm, always postive, number larger when more ventral (deeper)
76+
coordinate_ml: decimal(4,2) # in mm, always positive, number larger when more lateral
77+
coordinate_dv: decimal(4,2) # in mm, always positive, number larger when more ventral (deeper)
7878
"""
7979

8080

000007/DataJoint/DJ-NWB-Gao-2018/pipeline/acquisition.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Schema of aquisition information.
2+
Schema of acquisition information.
33
'''
44
import datajoint as dj
55
from pipeline import reference, subject
@@ -49,6 +49,6 @@ class PhotoStim(dj.Manual):
4949
-> reference.Hemisphere
5050
-> reference.CoordinateReference
5151
photo_stim_coordinate_ap: float # in mm, anterior positive, posterior negative
52-
photo_stim_coordinate_ml: float # in mm, always postive, number larger when more lateral
53-
photo_stim_coordinate_dv: float # in mm, always postive, number larger when more ventral (deeper)
52+
photo_stim_coordinate_ml: float # in mm, always positive, number larger when more lateral
53+
photo_stim_coordinate_dv: float # in mm, always positive, number larger when more ventral (deeper)
5454
"""

000007/DataJoint/DJ-NWB-Gao-2018/pipeline/reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Virus(dj.Lookup):
9595
virus: varchar(32) # name of the virus
9696
---
9797
-> VirusSource
98-
virus_lot_number="": varchar(128) # lot numnber of the virus
98+
virus_lot_number="": varchar(128) # lot number of the virus
9999
"""
100100
contents = [{
101101
'virus': 'AAV2-hSyn-hChR2(H134R)-EYFP',

000009/DataJoint/DJ-NWB-Guo-Inagaki-2017/notebooks/Guo-Inagaki-2017-examples.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"\n",
1313
"The study sheds new insights into the persistnent neural activity of the frontal thalamocortical circuit, suggesting that reciprocal excitation between the anterior lateral motor cortex (ALM) and the thalamus is needed to maintain persistent activity in motor preparation. Intracellular and extracellular recordings were performed on mouse ALM and thalamus neurons during tectile discrimination task with and without optogenetic perturbation. The study reported near-complete collapse of ALM activity upon photoinhibition of the thalamus, and photoinhibition of the ALM resulted in diminished thalamic activity. \n",
1414
"\n",
15-
"This notebook provides demonstrations of working with a ***DataJoint*** data pipeline in querying data, apply data conditioning and reproduce some key figures in the paper. The orignal data available in NWB 2.0 format had been ingested into a DataJoint data pipeline (data pipeline schema is given below). As a validation of complete ingestion of the original data into DataJoint, figures 3b,e, 6b,e and 4b,e,h will be reproduced in this notebook."
15+
"This notebook provides demonstrations of working with a ***DataJoint*** data pipeline in querying data, apply data conditioning and reproduce some key figures in the paper. The original data available in NWB 2.0 format had been ingested into a DataJoint data pipeline (data pipeline schema is given below). As a validation of complete ingestion of the original data into DataJoint, figures 3b,e, 6b,e and 4b,e,h will be reproduced in this notebook."
1616
]
1717
},
1818
{
@@ -1565,10 +1565,10 @@
15651565
" <span class=\"djtooltiptext\">in mm, anterior positive, posterior negative</span>\n",
15661566
" </div></th><th><div class=\"djtooltip\">\n",
15671567
" <p id=\"primary\">coordinate_ml</p>\n",
1568-
" <span class=\"djtooltiptext\">in mm, always postive, number larger when more lateral</span>\n",
1568+
" <span class=\"djtooltiptext\">in mm, always positive, number larger when more lateral</span>\n",
15691569
" </div></th><th><div class=\"djtooltip\">\n",
15701570
" <p id=\"primary\">coordinate_dv</p>\n",
1571-
" <span class=\"djtooltiptext\">in mm, always postive, number larger when more ventral (deeper)</span>\n",
1571+
" <span class=\"djtooltiptext\">in mm, always positive, number larger when more ventral (deeper)</span>\n",
15721572
" </div></th><th><div class=\"djtooltip\">\n",
15731573
" <p id=\"primary\">unit_id</p>\n",
15741574
" <span class=\"djtooltiptext\"></span>\n",
@@ -3110,7 +3110,7 @@
31103110
"source": [
31113111
"The following parts of this example relates to the extracellular recording results of this study, namely the neuronal spiking patterns in response to photostimulation.\n",
31123112
"\n",
3113-
"Fairly similar to the routine layed out above, we wish to query neuronal spike times, segmented time-locked to the \"delay\" period, categorized by recording locations and photostimulation locations:\n",
3113+
"Fairly similar to the routine laid out above, we wish to query neuronal spike times, segmented time-locked to the \"delay\" period, categorized by recording locations and photostimulation locations:\n",
31143114
"+ Recording at ALM, stimulation at ALM\n",
31153115
"+ Recording at ALM, stimulation at Thalamus\n",
31163116
"+ Recording at Thalamus, stimulation at Thalamus\n",
@@ -3309,7 +3309,7 @@
33093309
"cell_type": "markdown",
33103310
"metadata": {},
33113311
"source": [
3312-
"Here, we define a helper function to query and fetch the trial-segmented spike times for a single unit in a specifed session: `query_unit_segmented_spiketimes()`"
3312+
"Here, we define a helper function to query and fetch the trial-segmented spike times for a single unit in a specified session: `query_unit_segmented_spiketimes()`"
33133313
]
33143314
},
33153315
{
@@ -3318,7 +3318,7 @@
33183318
"metadata": {},
33193319
"outputs": [],
33203320
"source": [
3321-
"# get trial-segmented spiketimes for a single unit in the specifed session\n",
3321+
"# get trial-segmented spiketimes for a single unit in the specified session\n",
33223322
"def query_unit_segmented_spiketimes(sess_key, unit, trial_key, seg_param_key):\n",
33233323
" data_keys = (extracellular.TrialSegmentedUnitSpikeTimes & sess_key & {'unit_id': unit} & seg_param_key &\n",
33243324
" ((acquisition.TrialSet.Trial & trial_key) & (stimulation.TrialPhotoStimInfo & trial_key))).fetch('KEY')\n",
@@ -3619,7 +3619,7 @@
36193619
"metadata": {},
36203620
"outputs": [],
36213621
"source": [
3622-
"# get trial-segmented spiketimes for all units in all specifed sessions\n",
3622+
"# get trial-segmented spiketimes for all units in all specified sessions\n",
36233623
"def extract_segmented_spiketimes_histogram(units, trial_cond, seg_param_key, time_range=(-1.5, 3), bin_counts=1000):\n",
36243624
" unit_keys = units.fetch('KEY')\n",
36253625
" print(f'Found {len(unit_keys)} units') \n",

0 commit comments

Comments
 (0)