Skip to content

Support adding string type as value to neurodata object properties #322

Support adding string type as value to neurodata object properties

Support adding string type as value to neurodata object properties #322

GitHub Actions / JUnit Test Report failed Mar 3, 2025 in 0s

297 tests run, 295 passed, 0 skipped, 2 failed.

Annotations

Check failure on line 1 in NWBFileIOTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

NWBFileIOTest.testOutToPyNWB

Verification failed in tests.system.NWBFileIOTest/testOutToPyNWB.
    ----------------
Raw output
Verification failed in tests.system.NWBFileIOTest/testOutToPyNWB.
    ----------------
    Test Diagnostic:
    ----------------
    /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py:200: FutureWarning: TimeSeries.__init__: Using positional arguments for this method is discouraged and will be deprecated in a future major release. Please use keyword arguments to ensure future compatibility.
      ts = TimeSeries('test_timeseries', list(range(100, 200, 10)),
    E
    ======================================================================
    ERROR: testInFromMatNWB (PyNWBIOTest.NWBFileIOTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 23, in setUp
        self.__container = self.addContainer(self.file)
      File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 204, in addContainer
        mod.add_container(Clustering("A fake Clustering interface", [0, 1, 2, 0, 1, 2],
      File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/hdmf/utils.py", line 577, in func_call
        return func(args[0], **pargs)
      File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pynwb/ecephys.py", line 244, in __init__
        self._error_on_new_pass_on_construct(
      File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pynwb/core.py", line 65, in _error_on_new_pass_on_construct
        raise ValueError(error_msg)
    ValueError: The Clustering neurodata type is deprecated. Use pynwb.misc.Units or NWBFile.units instead
    
    ----------------------------------------------------------------------
    Ran 1 test in 0.051s
    
    FAILED (errors=1)
    
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.m (PyNWBIOTest.testOutToPyNWB) at 16

Check failure on line 1 in NWBFileIOTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

NWBFileIOTest.testInFromPyNWB

Assertion failed in tests.system.NWBFileIOTest/testInFromPyNWB and it did not run to completion.
    ----------------
Raw output
Assertion failed in tests.system.NWBFileIOTest/testInFromPyNWB and it did not run to completion.
    ----------------
    Test Diagnostic:
    ----------------
    /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py:200: FutureWarning: TimeSeries.__init__: Using positional arguments for this method is discouraged and will be deprecated in a future major release. Please use keyword arguments to ensure future compatibility.
      ts = TimeSeries('test_timeseries', list(range(100, 200, 10)),
    E
    ======================================================================
    ERROR: testOutToMatNWB (PyNWBIOTest.NWBFileIOTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 23, in setUp
        self.__container = self.addContainer(self.file)
      File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 204, in addContainer
        mod.add_container(Clustering("A fake Clustering interface", [0, 1, 2, 0, 1, 2],
      File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/hdmf/utils.py", line 577, in func_call
        return func(args[0], **pargs)
      File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pynwb/ecephys.py", line 244, in __init__
        self._error_on_new_pass_on_construct(
      File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pynwb/core.py", line 65, in _error_on_new_pass_on_construct
        raise ValueError(error_msg)
    ValueError: The Clustering neurodata type is deprecated. Use pynwb.misc.Units or NWBFile.units instead
    
    ----------------------------------------------------------------------
    Ran 1 test in 0.049s
    
    FAILED (errors=1)
    
    ------------------
    Stack Information:
    ------------------
    In /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.m (PyNWBIOTest.testInFromPyNWB) at 23