Skip to content

Commit ea980e9

Browse files
committed
Spellcheck pass
1 parent b3c0786 commit ea980e9

File tree

7 files changed

+132
-11
lines changed

7 files changed

+132
-11
lines changed

cspell.json

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
// cSpell Settings
2+
//https://github.com/streetsidesoftware/vscode-spell-checker
3+
{
4+
"version": "0.2", // Version of the setting file. Always 0.2
5+
"language": "en", // language - current active spelling language
6+
"enabledLanguageIds": [
7+
"markdown", "yaml", "python"
8+
],
9+
// flagWords - list of words to be always considered incorrect
10+
// This is useful for offensive words and common spelling errors.
11+
// For example "hte" should be "the"
12+
"flagWords": [],
13+
"allowCompoundWords": true,
14+
"ignorePaths": [
15+
"./element_array_ephys.egg-info/*",
16+
"./images/*"
17+
],
18+
"words": [
19+
"aggr",
20+
"apmeta",
21+
"arange",
22+
"asarray",
23+
"astype",
24+
"autocorrelogram",
25+
"bbins",
26+
"bdist",
27+
"Binarize",
28+
"catgt",
29+
"cbar",
30+
"cbin",
31+
"cdat",
32+
"Chans",
33+
"chans",
34+
"chns",
35+
"cmap",
36+
"correlogram",
37+
"correlograms",
38+
"decomp",
39+
"DISTRO",
40+
"djbase",
41+
"dtype",
42+
"ecephys",
43+
"elif",
44+
"Ephys",
45+
"gblcar",
46+
"gfix",
47+
"hstack",
48+
"ibllib",
49+
"ifnull",
50+
"Imax",
51+
"IMAX",
52+
"imax",
53+
"imec",
54+
"imread",
55+
"imro",
56+
"imrotbl",
57+
"imshow",
58+
"inlinehilite",
59+
"ipywidgets",
60+
"kcoords",
61+
"lfmeta",
62+
"linenums",
63+
"mdict",
64+
"mkdocs",
65+
"mkdocstrings",
66+
"mtscomp",
67+
"Nchan",
68+
"nchan",
69+
"ndarray",
70+
"ndim",
71+
"ndimage",
72+
"NEURO",
73+
"Neuropix",
74+
"NeuroPixels",
75+
"oebin",
76+
"openephys",
77+
"openephys",
78+
"openpyxl",
79+
"phylog",
80+
"plotly",
81+
"pykilosort",
82+
"pymdownx",
83+
"pynwb",
84+
"pyopenephys",
85+
"pyplot",
86+
"pytest",
87+
"repolarization",
88+
"Roboto",
89+
"scipy",
90+
"sdist",
91+
"sess",
92+
"SGLX",
93+
"spikeglx",
94+
"spkcount",
95+
"Stereotaxic","acorr",
96+
"tcat",
97+
"tickvals",
98+
"tofile",
99+
"vline",
100+
"Vmax",
101+
"vmax",
102+
"xanchor",
103+
"xaxes",
104+
"xaxis",
105+
"xcoords",
106+
"xcorr",
107+
"xlabel",
108+
"xlim",
109+
"XPOS",
110+
"xtick",
111+
"yaxes",
112+
"yaxis",
113+
"ycoord",
114+
"ycoords",
115+
"ylabel",
116+
"ylim",
117+
"YPOS",
118+
"yref",
119+
"yticks"
120+
]
121+
}

docs/mkdocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ nav:
4343
# HOST_UID=$(id -u) docker compose -f docs/docker-compose.yaml up --build
4444
# ```
4545
# 02. Site analytics depend on a local environment variable GOOGLE_ANALYTICS_KEY
46-
# You can find this in LastPass or declare with any string to suprress errors
46+
# You can find this in LastPass or declare with any string to suppress errors
4747
# 03. The API section will pull docstrings.
4848
# A. Follow google styleguide e.g.,
4949
# https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html

element_array_ephys/ephys_acute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def activate(
3232
3333
Args:
3434
ephys_schema_name (str): A string containing the name of the ephys schema.
35-
probe_schema_name (str): A string containing the name of the probe scehma.
35+
probe_schema_name (str): A string containing the name of the probe schema.
3636
create_schema (bool): If True, schema will be created in the database.
3737
create_tables (bool): If True, tables related to the schema will be created in the database.
3838
linking_module (str): A string containing the module name or module containing the required dependencies to activate the schema.

element_array_ephys/ephys_chronic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def activate(
3131
3232
Args:
3333
ephys_schema_name (str): A string containing the name of the ephys schema.
34-
probe_schema_name (str): A string containing the name of the probe scehma.
34+
probe_schema_name (str): A string containing the name of the probe schema.
3535
create_schema (bool): If True, schema will be created in the database.
3636
create_tables (bool): If True, tables related to the schema will be created in the database.
3737
linking_module (str): A string containing the module name or module containing the required dependencies to activate the schema.

element_array_ephys/ephys_no_curation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def activate(
3232
3333
Args:
3434
ephys_schema_name (str): A string containing the name of the ephys schema.
35-
probe_schema_name (str): A string containing the name of the probe scehma.
35+
probe_schema_name (str): A string containing the name of the probe schema.
3636
create_schema (bool): If True, schema will be created in the database.
3737
create_tables (bool): If True, tables related to the schema will be created in the database.
3838
linking_module (str): A string containing the module name or module containing the required dependencies to activate the schema.

element_array_ephys/ephys_precluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def activate(
2727
2828
Args:
2929
ephys_schema_name (str): A string containing the name of the ephys schema.
30-
probe_schema_name (str): A string containing the name of the probe scehma.
30+
probe_schema_name (str): A string containing the name of the probe schema.
3131
create_schema (bool): If True, schema will be created in the database.
3232
create_tables (bool): If True, tables related to the schema will be created in the database.
3333
linking_module (str): A string containing the module name or module containing the required dependencies to activate the schema.
@@ -436,7 +436,7 @@ class Step(dj.Part):
436436

437437
@schema
438438
class PreClusterTask(dj.Manual):
439-
"""Defines a pre-clusting task ready to be run.
439+
"""Defines a pre-clustering task ready to be run.
440440
441441
Attributes:
442442
EphysRecording (foreign key): EphysRecording primary key.

element_array_ephys/plotting/qc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(
2828
key (dict, optional): key from ephys.QualityMetric table. Defaults to None.
2929
scale (float, optional): Scale at which to render figure. Defaults to 1.4.
3030
fig_width (int, optional): Figure width in pixels. Defaults to 800.
31-
amplitude_cutoff_maximum (float, optional): Cutoff for unit ampliude in
31+
amplitude_cutoff_maximum (float, optional): Cutoff for unit amplitude in
3232
visualizations. Defaults to None.
3333
presence_ratio_minimum (float, optional): Cutoff for presence ratio in
3434
visualizations. Defaults to None.
@@ -61,7 +61,7 @@ def key(self) -> dict:
6161
def key(self, key: dict):
6262
"""Use class_instance.key = your_key to reset key"""
6363
if key not in self._ephys.QualityMetrics.fetch("KEY"):
64-
# If not already full key, check if unquely identifies entry
64+
# If not already full key, check if uniquely identifies entry
6565
key = (self._ephys.QualityMetrics & key).fetch1("KEY")
6666
self._key = key
6767

@@ -127,7 +127,7 @@ def units(self) -> pd.DataFrame:
127127
def _format_fig(
128128
self, fig: go.Figure = None, scale: float = None, ratio: float = 1.0
129129
) -> go.Figure:
130-
"""Return formatted figure or apply prmatting to existing figure
130+
"""Return formatted figure or apply formatting to existing figure
131131
132132
Args:
133133
fig (go.Figure, optional): Apply formatting to this plotly graph object
@@ -252,7 +252,7 @@ def get_grid(self, n_columns: int = 4, scale: float = 1.0) -> go.Figure:
252252
"""Plot grid of histograms as subplots in go.Figure using n_columns
253253
254254
Args:
255-
n_columns (int, optional): Number of colums in grid. Defaults to 4.
255+
n_columns (int, optional): Number of column in grid. Defaults to 4.
256256
scale (float, optional): Scale to render fig. Defaults to scale at class
257257
init, 1.
258258
@@ -334,7 +334,7 @@ def get_grid(self, n_columns: int = 4, scale: float = 1.0) -> go.Figure:
334334

335335
@property
336336
def plot_list(self):
337-
"""List of plots that can be rendered inidividually by name or as grid"""
337+
"""List of plots that can be rendered individually by name or as grid"""
338338
if not self._plots:
339339
_ = self.plots
340340
return [plot for plot in self._plots]

0 commit comments

Comments
 (0)