Closed mfeyerab closed 2 years ago
It looks like the checkConfig doesn't check that form of compound type (struct with arrays).
@mfeyerab If you're interested in confirming: this branch: https://github.com/NeurodataWithoutBorders/matnwb/tree/432-checkconfig-compound-height appears to resolve your issue.
@lawrence-mbf thank you for resolving this particular issue and sorry for me late response time. I fear though the problem goes deeper. I still run at least into one more issue when creating NWB files with/for intracellular data. I am about to create another bug report. I am not really a developer, so I hope that is the best way to go about it. I am a bit puzzled though that the new changes around dynamic tables in the latest release are in conflict with several MATNWB objects used for Intracellular data.
Hi @mfeyerab no problem, go ahead and mention that in your ticket. It's always good to get more coverage on types our developers might not use often or didn't consider for testing.
What happened?
Hello together,
since the new release I have trouble creating objects that are dynamic tables and also have a TimeSeriesReferenceVectorData object such as IntracellularStimuliTable and IntracellularResponsesTable. No matter how I create TimeSeriesReferenceVectorData object the number of rows do not match up with the IDs, because they are not detected correctly. TimeSeriesReferenceVectorData objects that were created with a structure for the data property always have the height 1 (as in the example I attach), whereas when I create them with a table the height is number of columns of that table (i.e. 3 for 'idx_start', 'count', 'timeseries'). It looks to me like that the revised checkConfig function is simply missing code to asses the size of the object correctly, or am I getting something completely wrong here? I do not have a strong coding background, so I would really appreciate if someone here could clarify this issue to me. The minimum example is based on code from the current intracellular tutorial.
Steps to Reproduce
Error Message
Operating System
Windows
Matlab Version
'9.9.0.1495850 (R2020b) Update 1'
Code of Conduct