Skip to content

Commit

Permalink
Rename SortedSpikesGroup.SortGroup to SortedSpikesGroup.Units
Browse files Browse the repository at this point in the history
  • Loading branch information
edeno committed Jan 26, 2024
1 parent 52c01f9 commit 59aac4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion notebooks/43_Decoding_SortedSpikes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
}
],
"source": [
"SortedSpikesGroup.SortGroup & {\n",
"SortedSpikesGroup.Units & {\n",
" \"nwb_file_name\": nwb_copy_file_name,\n",
" \"sorted_spikes_group_name\": \"test_group\",\n",
"}"
Expand Down
2 changes: 1 addition & 1 deletion notebooks/py_scripts/43_Decoding_SortedSpikes.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
}
# -

SortedSpikesGroup.SortGroup & {
SortedSpikesGroup.Units & {
"nwb_file_name": nwb_copy_file_name,
"sorted_spikes_group_name": "test_group",
}
Expand Down
4 changes: 2 additions & 2 deletions src/spyglass/decoding/v1/sorted_spikes.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class SortedSpikesGroup(SpyglassMixin, dj.Manual):
sorted_spikes_group_name: varchar(80)
"""

class SortGroup(SpyglassMixin, dj.Part):
class Units(SpyglassMixin, dj.Part):
definition = """
-> SortedSpikesGroup
-> SpikeSortingOutput.proj(spikesorting_merge_id='merge_id')
Expand Down Expand Up @@ -382,7 +382,7 @@ def fetch_linear_position_info(key):
def fetch_spike_data(key, filter_by_interval=True):
merge_ids = (
(
SortedSpikesGroup.SortGroup
SortedSpikesGroup.Units
& {
"nwb_file_name": key["nwb_file_name"],
"sorted_spikes_group_name": key["sorted_spikes_group_name"],
Expand Down

0 comments on commit 59aac4e

Please sign in to comment.