Improve error message if adding neurodata types of the wrong types as property values #134
219 tests run, 137 passed, 0 skipped, 82 failed.
Annotations
Check failure on line 1 in AlignedSpikeTimesUtilityTest
github-actions / JUnit Test Report
AlignedSpikeTimesUtilityTest.psthTest
Error occurred in tests.system.AlignedSpikeTimesUtilityTest/psthTest and it did not run to completion.
---------
Raw output
Error occurred in tests.system.AlignedSpikeTimesUtilityTest/psthTest and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.hdmf_common/DynamicTable (line 33)
Error in types.core/TimeIntervals (line 21)
Error in tests.system.AlignedSpikeTimesUtilityTest/psthTest (line 32)
file.intervals_trials = types.core.TimeIntervals(...
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.testAmend
Error occurred in tests.system.DynamicTableTest/testAmend and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/testAmend and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.testRoundTrip
Error occurred in tests.system.DynamicTableTest/testRoundTrip and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/testRoundTrip and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.getNegativeIdTest
Error occurred in tests.system.DynamicTableTest/getNegativeIdTest and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/getNegativeIdTest and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.getRowTest
Error occurred in tests.system.DynamicTableTest/getRowTest and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/getRowTest and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.getRowRoundtripTest
Error occurred in tests.system.DynamicTableTest/getRowRoundtripTest and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/getRowRoundtripTest and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.toTableTest
Error occurred in tests.system.DynamicTableTest/toTableTest and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/toTableTest and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.toTableNdArrayTest
Error occurred in tests.system.DynamicTableTest/toTableNdArrayTest and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/toTableNdArrayTest and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.DynamicTableCheckTest
Error occurred in tests.system.DynamicTableTest/DynamicTableCheckTest and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/DynamicTableCheckTest and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in DynamicTableTest
github-actions / JUnit Test Report
DynamicTableTest.testEmptyTable
Error occurred in tests.system.DynamicTableTest/testEmptyTable and it did not run to completion.
---------
Raw output
Error occurred in tests.system.DynamicTableTest/testEmptyTable and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.util.dynamictable.checkConfig (line 59)
DynamicTable.id = types.hdmf_common.ElementIdentifiers('data', idData);
Error in types.core/TimeIntervals (line 46)
Error in tests.system.DynamicTableTest/addContainer (line 20)
file.intervals_trials = types.core.TimeIntervals(...
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in ElectricalSeriesIOTest
github-actions / JUnit Test Report
ElectricalSeriesIOTest.testRoundTrip
Error occurred in tests.system.ElectricalSeriesIOTest/testRoundTrip and it did not run to completion.
---------
Raw output
Error occurred in tests.system.ElectricalSeriesIOTest/testRoundTrip and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.hdmf_common/DynamicTable (line 33)
Error in util.createElectrodeTable (line 2)
table = types.hdmf_common.DynamicTable(...
Error in tests.system.ElectricalSeriesIOTest/addContainer (line 14)
electrodes = util.createElectrodeTable();
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in ElectricalSeriesIOTest
github-actions / JUnit Test Report
ElectricalSeriesIOTest.testOutToPyNWB
Error occurred in tests.system.ElectricalSeriesIOTest/testOutToPyNWB and it did not run to completion.
---------
Raw output
Error occurred in tests.system.ElectricalSeriesIOTest/testOutToPyNWB and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.hdmf_common/DynamicTable (line 33)
Error in util.createElectrodeTable (line 2)
table = types.hdmf_common.DynamicTable(...
Error in tests.system.ElectricalSeriesIOTest/addContainer (line 14)
electrodes = util.createElectrodeTable();
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in ElectricalSeriesIOTest
github-actions / JUnit Test Report
ElectricalSeriesIOTest.testInFromPyNWB
Error occurred in tests.system.ElectricalSeriesIOTest/testInFromPyNWB and it did not run to completion.
---------
Raw output
Error occurred in tests.system.ElectricalSeriesIOTest/testInFromPyNWB and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Error using startsWith
Not enough input arguments.
Error in matnwb.utility.isNeurodataTypeClassName (line 13)
if startsWith(typeName, 'types.') && ~startsWith('types.untyped')
Error in matnwb.utility.isNeurodataType (line 11)
tf = matnwb.utility.isNeurodataTypeClassName(value);
Error in types.util.checkDtype (line 127)
if matnwb.utility.isNeurodataType(typeDescriptor)
Error in types.hdmf_common/DynamicTable/validate_id (line 91)
Error in types.hdmf_common/DynamicTable/set.id (line 47)
Error in types.hdmf_common/DynamicTable (line 33)
Error in util.createElectrodeTable (line 2)
table = types.hdmf_common.DynamicTable(...
Error in tests.system.ElectricalSeriesIOTest/addContainer (line 14)
electrodes = util.createElectrodeTable();
Error in tests.system.NwbTestInterface/setupMethod (line 26)
testCase.addContainer(testCase.file);
Check failure on line 1 in ElectrodeGroupIOTest
github-actions / JUnit Test Report
ElectrodeGroupIOTest.testRoundTrip
Error occurred in tests.system.ElectrodeGroupIOTest/testRoundTrip and it did not run to completion.
---------
Raw output
Error occurred in tests.system.ElectrodeGroupIOTest/testRoundTrip and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.ElectrodeGroupIOTest/getContainer (line 15)
c = file.general_extracellular_ephys.get('elec1');
Error in tests.system.RoundTripTest/testRoundTrip (line 6)
writeContainer = testCase.getContainer(testCase.file);
Check failure on line 1 in ElectrodeGroupIOTest
github-actions / JUnit Test Report
ElectrodeGroupIOTest.testOutToPyNWB
Verification failed in tests.system.ElectrodeGroupIOTest/testOutToPyNWB.
----------------
Raw output
Verification failed in tests.system.ElectrodeGroupIOTest/testOutToPyNWB.
----------------
Test Diagnostic:
----------------
E
======================================================================
ERROR: testInFromMatNWB (PyNWBIOTest.ElectrodeGroupIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 37, in testInFromMatNWB
matcontainer = self.getContainer(matfile)
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 133, in getContainer
return file.get_electrode_group(self.container.name)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/utils.py", line 668, in func_call
return func(args[0], **pargs)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/container.py", line 1117, in _func
raise KeyError(msg)
KeyError: "'elec1' not found in electrode_groups of NWBFile 'root'."
----------------------------------------------------------------------
Ran 1 test in 0.045s
FAILED (errors=1)
------------------
Stack Information:
------------------
In /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.m (PyNWBIOTest.testOutToPyNWB) at 15
Check failure on line 1 in ElectrodeGroupIOTest
github-actions / JUnit Test Report
ElectrodeGroupIOTest.testInFromPyNWB
Error occurred in tests.system.ElectrodeGroupIOTest/testInFromPyNWB and it did not run to completion.
---------
Raw output
Error occurred in tests.system.ElectrodeGroupIOTest/testInFromPyNWB and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.ElectrodeGroupIOTest/getContainer (line 15)
c = file.general_extracellular_ephys.get('elec1');
Error in tests.system.PyNWBIOTest/testInFromPyNWB (line 26)
pycontainer = testCase.getContainer(pyfile);
Check failure on line 1 in ImagingPlaneIOTest
github-actions / JUnit Test Report
ImagingPlaneIOTest.testRoundTrip
Error occurred in tests.system.ImagingPlaneIOTest/testRoundTrip and it did not run to completion.
---------
Raw output
Error occurred in tests.system.ImagingPlaneIOTest/testRoundTrip and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.ImagingPlaneIOTest/getContainer (line 22)
c = file.general_optophysiology.get('imgpln1');
Error in tests.system.RoundTripTest/testRoundTrip (line 6)
writeContainer = testCase.getContainer(testCase.file);
Check failure on line 1 in ImagingPlaneIOTest
github-actions / JUnit Test Report
ImagingPlaneIOTest.testOutToPyNWB
Verification failed in tests.system.ImagingPlaneIOTest/testOutToPyNWB.
----------------
Raw output
Verification failed in tests.system.ImagingPlaneIOTest/testOutToPyNWB.
----------------
Test Diagnostic:
----------------
E
======================================================================
ERROR: testInFromMatNWB (PyNWBIOTest.ImagingPlaneIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 37, in testInFromMatNWB
matcontainer = self.getContainer(matfile)
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 170, in getContainer
return file.get_imaging_plane(self.container.name)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/utils.py", line 668, in func_call
return func(args[0], **pargs)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/container.py", line 1117, in _func
raise KeyError(msg)
KeyError: "'imgpln1' not found in imaging_planes of NWBFile 'root'."
----------------------------------------------------------------------
Ran 1 test in 0.095s
FAILED (errors=1)
------------------
Stack Information:
------------------
In /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.m (PyNWBIOTest.testOutToPyNWB) at 15
Check failure on line 1 in ImagingPlaneIOTest
github-actions / JUnit Test Report
ImagingPlaneIOTest.testInFromPyNWB
Error occurred in tests.system.ImagingPlaneIOTest/testInFromPyNWB and it did not run to completion.
---------
Raw output
Error occurred in tests.system.ImagingPlaneIOTest/testInFromPyNWB and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.ImagingPlaneIOTest/getContainer (line 22)
c = file.general_optophysiology.get('imgpln1');
Error in tests.system.PyNWBIOTest/testInFromPyNWB (line 26)
pycontainer = testCase.getContainer(pyfile);
Check failure on line 1 in PhotonSeriesIOTest
github-actions / JUnit Test Report
PhotonSeriesIOTest.testAmend
Error occurred in tests.system.PhotonSeriesIOTest/testAmend and it did not run to completion.
---------
Raw output
Error occurred in tests.system.PhotonSeriesIOTest/testAmend and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.PhotonSeriesIOTest/appendContainer (line 39)
oldImagingPlane = file.general_optophysiology.get('imgpln1');
Error in tests.system.AmendTest/testAmend (line 6)
testCase.appendContainer(testCase.file);
Check failure on line 1 in PhotonSeriesIOTest
github-actions / JUnit Test Report
PhotonSeriesIOTest.testRoundTrip
Error occurred in tests.system.PhotonSeriesIOTest/testRoundTrip and it did not run to completion.
---------
Raw output
Error occurred in tests.system.PhotonSeriesIOTest/testRoundTrip and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.PhotonSeriesIOTest/getContainer (line 35)
c = file.acquisition.get('test_2ps');
Error in tests.system.RoundTripTest/testRoundTrip (line 6)
writeContainer = testCase.getContainer(testCase.file);
Check failure on line 1 in PhotonSeriesIOTest
github-actions / JUnit Test Report
PhotonSeriesIOTest.testOutToPyNWB
Verification failed in tests.system.PhotonSeriesIOTest/testOutToPyNWB.
----------------
Raw output
Verification failed in tests.system.PhotonSeriesIOTest/testOutToPyNWB.
----------------
Test Diagnostic:
----------------
/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/pynwb/image.py:106: UserWarning: TwoPhotonSeries 'test_2ps': Length of data does not match length of timestamps. Your data may be transposed. Time should be on the 0th dimension
warnings.warn(
E
======================================================================
ERROR: testInFromMatNWB (PyNWBIOTest.PhotonSeriesIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 37, in testInFromMatNWB
matcontainer = self.getContainer(matfile)
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 195, in getContainer
return file.get_acquisition(self.container.name)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/utils.py", line 668, in func_call
return func(args[0], **pargs)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/container.py", line 1117, in _func
raise KeyError(msg)
KeyError: "'test_2ps' not found in acquisition of NWBFile 'root'."
----------------------------------------------------------------------
Ran 1 test in 0.181s
FAILED (errors=1)
------------------
Stack Information:
------------------
In /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.m (PyNWBIOTest.testOutToPyNWB) at 15
Check failure on line 1 in PhotonSeriesIOTest
github-actions / JUnit Test Report
PhotonSeriesIOTest.testInFromPyNWB
Error occurred in tests.system.PhotonSeriesIOTest/testInFromPyNWB and it did not run to completion.
---------
Raw output
Error occurred in tests.system.PhotonSeriesIOTest/testInFromPyNWB and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.PhotonSeriesIOTest/getContainer (line 35)
c = file.acquisition.get('test_2ps');
Error in tests.system.PyNWBIOTest/testInFromPyNWB (line 26)
pycontainer = testCase.getContainer(pyfile);
Check failure on line 1 in TimeSeriesIOTest
github-actions / JUnit Test Report
TimeSeriesIOTest.testRoundTrip
Error occurred in tests.system.TimeSeriesIOTest/testRoundTrip and it did not run to completion.
---------
Raw output
Error occurred in tests.system.TimeSeriesIOTest/testRoundTrip and it did not run to completion.
---------
Error ID:
---------
'MATLAB:Containers:Map:NoKey'
--------------
Error Details:
--------------
Error using indexing
The specified key is not present in this container.
Error in types.untyped.Set/get (line 170)
o{i} = obj.Map(name{i});
Error in tests.system.TimeSeriesIOTest/getContainer (line 13)
c = file.acquisition.get('test_timeseries');
Error in tests.system.RoundTripTest/testRoundTrip (line 6)
writeContainer = testCase.getContainer(testCase.file);
Check failure on line 1 in TimeSeriesIOTest
github-actions / JUnit Test Report
TimeSeriesIOTest.testOutToPyNWB
Verification failed in tests.system.TimeSeriesIOTest/testOutToPyNWB.
----------------
Raw output
Verification failed in tests.system.TimeSeriesIOTest/testOutToPyNWB.
----------------
Test Diagnostic:
----------------
E
======================================================================
ERROR: testInFromMatNWB (PyNWBIOTest.TimeSeriesIOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 37, in testInFromMatNWB
matcontainer = self.getContainer(matfile)
File "/home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.py", line 123, in getContainer
return file.get_acquisition(self.container.name)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/utils.py", line 668, in func_call
return func(args[0], **pargs)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/hdmf/container.py", line 1117, in _func
raise KeyError(msg)
KeyError: "'test_timeseries' not found in acquisition of NWBFile 'root'."
----------------------------------------------------------------------
Ran 1 test in 0.067s
FAILED (errors=1)
------------------
Stack Information:
------------------
In /home/runner/work/matnwb/matnwb/+tests/+system/PyNWBIOTest.m (PyNWBIOTest.testOutToPyNWB) at 15