Skip to content

Commit

Permalink
Move newscale module to npc_ephys
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Sep 17, 2024
1 parent 92d67d1 commit aafe006
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 305 deletions.
90 changes: 14 additions & 76 deletions pdm.lock

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

7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ authors = [
{ name = "Sam Gale", email = "[email protected]" },
]
dependencies = [
"h5py>=3.9.0",
"pandas>=2.0",
"pynwb>=2.7.0",
"rich>=13.5.2",
Expand All @@ -19,25 +18,21 @@ dependencies = [
"scipy>=1.9.3",
"DynamicRoutingTask<0.1.106",
"numba>=0.57.1",
"opencv-python-headless>=4.8.0.76",
"python-dotenv>=1.0.0",
"ndx-events>=0.2.0",
"pyarrow>=14.0",
"spikeinterface>=0.98.2",
"hdmf>=3.14.0",
"ndx-pose>=0.1.1",
"tables>=3.9.2",
"aind-data-schema==0.33.3",
"pydantic>=2.6.4",
"npc-lims>=0.1.174",
"npc-sync>=0.1.18",
"npc-ephys>=0.1.22",
"npc-ephys>=0.1.23",
"npc-stim>=0.1.8",
"npc-samstim>=0.1.4",
"npc-session>=0.1.34",
"npc-mvr>=0.1.6",
"npc-io>=0.1.27",
"polars>=0.20.26",
]
requires-python = ">=3.9"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/npc_sessions/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@ def _manipulator_positions(self) -> pynwb.core.DynamicTable:
f"{self.id} has no log.csv file to get manipulator coordinates"
) from exc

df = utils.get_newscale_coordinates(
df = npc_ephys.get_newscale_coordinates(
self.newscale_log_path,
f"{self.id.date}_{self.ephys_settings_xml_data.start_time.isoformat()}",
)
Expand Down
3 changes: 1 addition & 2 deletions src/npc_sessions/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from npc_sessions.utils.electrodes import *
from npc_sessions.utils.intervals import *
from npc_sessions.utils.misc import *
from npc_sessions.utils.newscale import *
from npc_sessions.utils.videos import *
from npc_sessions.utils.videos import *
Loading

0 comments on commit aafe006

Please sign in to comment.