Skip to content

Commit e54af06

Browse files
authored
Merge pull request #37 from NovelaNeuro/user/wmerynda/new_ndx
2 parents 79ee140 + 03eaca6 commit e54af06

13 files changed

+13
-13
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
],
3939
'packages': find_packages('src/pynwb'),
4040
'package_dir': {'': 'src/pynwb'},
41-
'package_data': {'ndx_fl_novela': [
41+
'package_data': {'ndx_franklab_novela': [
4242
'spec/ndx-franklab-novela.namespace.yaml',
4343
'spec/ndx-franklab-novela.extensions.yaml',
4444
]},
@@ -53,7 +53,7 @@
5353
def _copy_spec_files(project_dir):
5454
ns_path = os.path.join(project_dir, 'spec', 'ndx-franklab-novela.namespace.yaml')
5555
ext_path = os.path.join(project_dir, 'spec', 'ndx-franklab-novela.extensions.yaml')
56-
dst_dir = os.path.join(project_dir, 'src', 'pynwb', 'ndx_fl_novela', 'spec')
56+
dst_dir = os.path.join(project_dir, 'src', 'pynwb', 'ndx_franklab_novela', 'spec')
5757

5858
if not os.path.exists(dst_dir):
5959
os.mkdir(dst_dir)

src/pynwb/ndx_fl_novela/__init__.py renamed to src/pynwb/ndx_franklab_novela/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
from pynwb import load_namespaces
44

55
# Set path of the namespace.yaml file to the expected install location
6-
ndx_fl_novela_specpath = os.path.join(
6+
ndx_franklab_novela_specpath = os.path.join(
77
os.path.dirname(__file__),
88
'spec',
99
'ndx-franklab-novela.namespace.yaml'
1010
)
1111

1212
# If the extension has not been installed yet but we are running directly from
1313
# the git repo
14-
if not os.path.exists(ndx_fl_novela_specpath):
15-
ndx_fl_novela_specpath = os.path.abspath(os.path.join(
14+
if not os.path.exists(ndx_franklab_novela_specpath):
15+
ndx_franklab_novela_specpath = os.path.abspath(os.path.join(
1616
os.path.dirname(__file__),
1717
'..', '..', '..',
1818
'spec',
1919
'ndx-franklab-novela.namespace.yaml'
2020
))
2121

2222
# Load the namespace
23-
load_namespaces(ndx_fl_novela_specpath)
23+
load_namespaces(ndx_franklab_novela_specpath)
File renamed without changes.

src/pynwb/tests/test_associated_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from unittest import TestCase
22

3-
from src.pynwb.ndx_fl_novela.associated_files import AssociatedFiles
3+
from src.pynwb.ndx_franklab_novela.associated_files import AssociatedFiles
44

55

66
class TestApparatus(TestCase):

src/pynwb/tests/test_header_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from unittest import TestCase
22

3-
from src.pynwb.ndx_fl_novela.header_device import HeaderDevice
3+
from src.pynwb.ndx_franklab_novela.header_device import HeaderDevice
44

55

66
class TestHeaderDevice(TestCase):

0 commit comments

Comments
 (0)