Skip to content

Commit

Permalink
Spell fix, pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Jan 19, 2024
1 parent 95c17e0 commit 421df5b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion notebooks/21_DLC.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@
"id": "f5d83452-48eb-4669-89eb-a6beb1f2d051",
"metadata": {},
"source": [
"Now that we've intialized our project we'll need to extract frames which we will then label.\n"
"Now that we've initialized our project we'll need to extract frames which we will then label.\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/22_DLC_Loop.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
"id": "f5d83452-48eb-4669-89eb-a6beb1f2d051",
"metadata": {},
"source": [
"Now that we've intialized our project we'll need to extract frames which we will then label. "
"Now that we've initialized our project we'll need to extract frames which we will then label. "
]
},
{
Expand Down
12 changes: 6 additions & 6 deletions notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ sorting.

## 2. Position Pipeline

This series of notebooks covers tracking the position(s) of the animal. The
user can employ two different methods:
This series of notebooks covers tracking the position(s) of the animal. The user
can employ two different methods:

1. the simple [Trodes](20_Position_Trodes.ipynb) methods of tracking LEDs on
the animal's headstage
2. [DLC (DeepLabCut)](./21_DLC.ipynb) which uses a neural network to
track the animal's body parts.
1. the simple [Trodes](20_Position_Trodes.ipynb) methods of tracking LEDs on the
animal's headstage
2. [DLC (DeepLabCut)](./21_DLC.ipynb) which uses a neural network to track the
animal's body parts.

Either case can be followed by the
[Linearization notebook](./24_Linearization.ipynb) if the user wants to
Expand Down
5 changes: 1 addition & 4 deletions notebooks/py_scripts/21_DLC.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,10 @@
# +
import os
import datajoint as dj
from pprint import pprint

import spyglass.common as sgc
import spyglass.position.v1 as sgp

from pathlib import Path, PosixPath, PurePath
import glob
import numpy as np
import pandas as pd
import pynwb
Expand Down Expand Up @@ -227,7 +224,7 @@
skip_duplicates=True,
)

# Now that we've intialized our project we'll need to extract frames which we will then label.
# Now that we've initialized our project we'll need to extract frames which we will then label.
#

# comment this line out after you finish frame extraction for each project
Expand Down
5 changes: 1 addition & 4 deletions notebooks/py_scripts/22_DLC_Loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,10 @@
# +
import os
import datajoint as dj
from pprint import pprint

import spyglass.common as sgc
import spyglass.position.v1 as sgp

from pathlib import Path, PosixPath, PurePath
import glob
import numpy as np
import pandas as pd
import pynwb
Expand Down Expand Up @@ -211,7 +208,7 @@
skip_duplicates=True,
)

# Now that we've intialized our project we'll need to extract frames which we will then label.
# Now that we've initialized our project we'll need to extract frames which we will then label.

# comment this line out after you finish frame extraction for each project
sgp.DLCProject().run_extract_frames(project_key)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
for sorting_id in sorting_ids:
try:
sgs.CurationV1.insert_curation(sorting_id=sorting_id)
except KeyError as e:
except KeyError:
pass

SpikeSortingOutput.insert(
Expand Down
2 changes: 1 addition & 1 deletion notebooks/py_scripts/42_Decoding_Clusterless.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
# +
from non_local_detector.environment import Environment

# Environment?
# ?Environment
# -

# ## Decoding
Expand Down

0 comments on commit 421df5b

Please sign in to comment.