Skip to content

Commit

Permalink
partial clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Jan 31, 2024
1 parent 0caa44a commit 5bd2a25
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/pynwb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ def get_loaded_config():

def load_termset_config(config_path: str = None):
"""
This method will:
- Search the current configuration for data_types that are already present. These data_types will be
replaced with the new configuration.
- If the data_type is not present, then they will be loaded alongside the default curated configuration.
This method will either load the default config or the config provided by the path.
"""
if config_path is None:
config_path = path_to_config
Expand Down
1 change: 0 additions & 1 deletion src/pynwb/ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def __init__(self, **kwargs):
% str(args_to_set['position']))
for key, val in args_to_set.items():
setattr(self, key, val)
# breakpoint()

@register_class('ElectricalSeries', CORE_NAMESPACE)
class ElectricalSeries(TimeSeries):
Expand Down
2 changes: 0 additions & 2 deletions src/pynwb/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ class Subject(NWBContainer):
{'name': 'strain', 'type': str, 'doc': 'The strain of the subject, e.g., "C57BL/6J"', 'default': None},
)
def __init__(self, **kwargs):
# self.init_validation(constructor_args=kwargs)
keys_to_set = (
"age",
"age__reference",
Expand Down Expand Up @@ -1158,7 +1157,6 @@ def _tablefunc(table_name, description, columns):
if isinstance(c, tuple):
t.add_column(c[0], c[1])
elif isinstance(c, str):
breakpoint()
t.add_column(c)
else:
raise ValueError("Elements of 'columns' must be str or tuple")
Expand Down
2 changes: 1 addition & 1 deletion src/pynwb/nwb-schema
1 change: 0 additions & 1 deletion tests/unit/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from pynwb.ecephys import ElectricalSeries
from pynwb.testing import TestCase, remove_test_file

unload_termset_config()

class NWBFileTest(TestCase):
def setUp(self):
Expand Down

0 comments on commit 5bd2a25

Please sign in to comment.