Skip to content

Commit ff75fab

Browse files
Merge pull request #48 from NovelaNeuro/user/wmerynda/import_directly
2 parents 81e04d5 + 7c82c7b commit ff75fab

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

src/pynwb/ndx_franklab_novela/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from pynwb import load_namespaces
44

55
# Set path of the namespace.yaml file to the expected install location
6+
67
ndx_franklab_novela_specpath = os.path.join(
78
os.path.dirname(__file__),
89
'spec',
@@ -21,3 +22,11 @@
2122

2223
# Load the namespace
2324
load_namespaces(ndx_franklab_novela_specpath)
25+
26+
from .associated_files import AssociatedFiles
27+
from .camera_device import CameraDevice
28+
from .data_acq_device import DataAcqDevice
29+
from .header_device import HeaderDevice
30+
from .nwb_electrode_group import NwbElectrodeGroup
31+
from .nwb_image_series import NwbImageSeries
32+
from .probe import Probe, Shank, ShanksElectrode

src/pynwb/tests/test_read_nwb.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
from pynwb.device import Device
1010
from pynwb.testing import TestCase
1111

12-
from src.pynwb.ndx_franklab_novela.camera_device import CameraDevice
13-
from src.pynwb.ndx_franklab_novela.data_acq_device import DataAcqDevice
14-
from src.pynwb.ndx_franklab_novela.header_device import HeaderDevice
15-
from src.pynwb.ndx_franklab_novela.nwb_electrode_group import NwbElectrodeGroup
16-
from src.pynwb.ndx_franklab_novela.nwb_image_series import NwbImageSeries
17-
from src.pynwb.ndx_franklab_novela.probe import Probe, Shank, ShanksElectrode
12+
from src.pynwb.ndx_franklab_novela import CameraDevice
13+
from src.pynwb.ndx_franklab_novela import DataAcqDevice
14+
from src.pynwb.ndx_franklab_novela import HeaderDevice
15+
from src.pynwb.ndx_franklab_novela import NwbElectrodeGroup
16+
from src.pynwb.ndx_franklab_novela import NwbImageSeries
17+
from src.pynwb.ndx_franklab_novela import Probe, Shank, ShanksElectrode
1818

1919

2020
class TestNWBFileReading(TestCase):

0 commit comments

Comments
 (0)