Skip to content

Commit

Permalink
put opalkelly source in its own subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Nov 5, 2024
1 parent 3d1fb96 commit f7ecda9
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions miniscope_io/sources/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Control interfaces for external hardware sources
"""

from miniscope_io.sources.opalkelly.opalkelly import okDev

__all__ = ["okDev"]
7 changes: 7 additions & 0 deletions miniscope_io/sources/opalkelly/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"""
Source classes for the opalkelly FPGA DAQ
"""

from miniscope_io.sources.opalkelly.opalkelly import okDev

__all__ = ["okDev"]
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def pytest_sessionstart(session):
@pytest.fixture(autouse=True)
def mock_okdev(monkeypatch):
from miniscope_io.sources.mocks import okDevMock
from miniscope_io.sources import opalkelly
from miniscope_io.sources.opalkelly import opalkelly
from miniscope_io import stream_daq

monkeypatch.setattr(opalkelly, "okDev", okDevMock)
Expand Down

0 comments on commit f7ecda9

Please sign in to comment.