Skip to content

Commit be9314f

Browse files
authored
Docs types fixes (LorenFrankLab#1402)
* Docstring type fixes * Update jupytext scripts * Update changelog
1 parent cdae389 commit be9314f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+139
-164
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import all foreign key references.
1515

1616
- Delete extra pyscripts that were renamed # 1363
1717
- Add note on fetching changes to setup notebook #1371
18+
- Revise table field docstring heading and `mermaid` diagram generation #1402
1819

1920
### Infrastructure
2021

docs/mkdocs.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ nav:
5555
- Spike Sorting V0: notebooks/10_Spike_SortingV0.ipynb
5656
- Spike Sorting V1: notebooks/10_Spike_SortingV1.ipynb
5757
- Spike Sorting Analysis: notebooks/11_Spike_Sorting_Analysis.ipynb
58-
- Spike Burst Merge: notebooks/12_Spike_Burst.ipynb
58+
- Spike Burst Merge: notebooks/12_Burst_Merge_Curation.ipynb
5959
- Position:
6060
- Position Trodes: notebooks/20_Position_Trodes.ipynb
6161
- DLC Models: notebooks/21_DLC.ipynb
@@ -70,6 +70,7 @@ nav:
7070
- Decoding Clusterless: notebooks/41_Decoding_Clusterless.ipynb
7171
- Decoding Sorted Spikes: notebooks/42_Decoding_SortedSpikes.ipynb
7272
- MUA Detection: notebooks/50_MUA_Detection.ipynb
73+
- Behavior Syllables: notebooks/60_MoSeq.ipynb
7374
- Features:
7475
- Overview: Features/index.md
7576
- FigURL: Features/FigURL.md
@@ -95,7 +96,8 @@ extra_css:
9596

9697
plugins:
9798
- search
98-
- mermaid2 # for graphs
99+
- mermaid2: # for graphs
100+
version: 10.0.2
99101
- exclude:
100102
glob:
101103
- "temp*"
@@ -140,7 +142,11 @@ markdown_extensions:
140142
pygments_lang_class: true
141143
- pymdownx.inlinehilite
142144
- pymdownx.snippets
143-
- pymdownx.superfences
145+
- pymdownx.superfences:
146+
custom_fences:
147+
- name: mermaid
148+
class: mermaid
149+
format: !!python/name:mermaid2.fence_mermaid_custom
144150
- pymdownx.tabbed:
145151
alternate_style: true
146152

notebooks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Spyglass directory
8080

8181
```bash
8282
pip install jupytext
83-
jupytext --to py notebooks/*ipynb
83+
jupytext --to py:light notebooks/*ipynb
8484
mv notebooks/*py notebooks/py_scripts
8585
black .
8686
```

notebooks/py_scripts/00_Setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: light
77
# format_version: '1.5'
8-
# jupytext_version: 1.14.5
8+
# jupytext_version: 1.17.0
99
# kernelspec:
1010
# display_name: spyglass
1111
# language: python

notebooks/py_scripts/01_Concepts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: light
77
# format_version: '1.5'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.0
99
# kernelspec:
1010
# display_name: spy
1111
# language: python

notebooks/py_scripts/02_Insert_Data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: light
77
# format_version: '1.5'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.0
99
# kernelspec:
1010
# display_name: spy
1111
# language: python

notebooks/py_scripts/03_Data_Sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: light
77
# format_version: '1.5'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.0
99
# kernelspec:
1010
# display_name: spyglass
1111
# language: python

notebooks/py_scripts/04_Merge_Tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: light
77
# format_version: '1.5'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.0
99
# kernelspec:
1010
# display_name: spy
1111
# language: python

notebooks/py_scripts/05_Export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: light
77
# format_version: '1.5'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.0
99
# kernelspec:
1010
# display_name: spy
1111
# language: python

notebooks/py_scripts/10_Spike_SortingV0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: light
77
# format_version: '1.5'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.0
99
# kernelspec:
1010
# display_name: Python 3.10.5 64-bit
1111
# language: python

0 commit comments

Comments
 (0)