Skip to content

Commit

Permalink
Bump [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Oct 16, 2024
1 parent d94cf15 commit 7c31bc9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "npc_sessions"
version = "0.0.248"
version = "0.0.249"
description = "NWB-conversion for behavior and epyhys sessions from the Mindscope Neuropixels team, in the cloud."
authors = [
{ name = "Ben Hardcastle", email = "[email protected]" },
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ npc-lims==0.1.176
npc-mvr==0.1.8
npc-samstim==0.1.4
npc-session==0.1.39
npc-stim==0.1.8
npc-sync==0.1.18
npc-stim==0.1.9
npc-sync==0.1.19
numba==0.60.0
numcodecs==0.12.1
numexpr==2.10.1
Expand Down
14 changes: 9 additions & 5 deletions src/npc_sessions/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,12 @@ def keywords(self) -> list[str]:
self.keywords.append("ephys")
if self.is_surface_channels:
self.keywords.append("deep_insertions")
deep_probes = set('ABCDEF') - set(self.surface_recording.probe_letters_to_skip)
self.keywords.append(f"deep_insertion_probe_letters={''.join(sorted(deep_probes))}")
deep_probes = set("ABCDEF") - set(
self.surface_recording.probe_letters_to_skip
)
self.keywords.append(
f"deep_insertion_probe_letters={''.join(sorted(deep_probes))}"
)
if self.is_sorted:
self.keywords.append("units")
if self.is_annotated:
Expand Down Expand Up @@ -807,7 +811,7 @@ def _analysis(
modules: list[pynwb.core.NWBDataInterface | pynwb.core.DynamicTable] = []
# if self.is_sorted:
# modules.append(self.all_spike_histograms)
# modules.append(self.drift_maps) # TODO no longer in sorted output: generate from scratch
# modules.append(self.drift_maps) # TODO no longer in sorted output: generate from scratch
return tuple(modules)

# intervals ----------------------------------------------------------------- #
Expand Down Expand Up @@ -3102,7 +3106,7 @@ def _dlc(self) -> tuple[ndx_pose.pose.PoseEstimation, ...]:
)
)
else:
raise NotImplementedError # TODO
raise NotImplementedError # TODO
return tuple(pose_estimations)

@npc_io.cached_property
Expand Down Expand Up @@ -3704,7 +3708,7 @@ def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)
# override session id to allow correct sorted/raw data paths to be found with npc_lims:
self.id = npc_session.SessionRecord(self.id.with_idx(1))

@npc_io.cached_property
def ephys_timing_data(self) -> tuple[npc_ephys.EphysTimingInfo, ...]:
"""Sync data not available, so timing info not accurate"""
Expand Down

0 comments on commit 7c31bc9

Please sign in to comment.