You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to detect this version change and clear specifically the classes causing the problem?
@bendichter I have explored this and although the MATLAB documentation seems to suggest that it is possible to clear specific classes, I don't manage to make this work in practice.
Also, MATLAB will update class definitions in memory when they are updated in file, but for some reason this does not work perfectly when regenerating MatNWB type classes. It might be because a full set of classes and superclasses are generated in one go, but it is very difficult to pinpoint. Maybe something to bring up with MathWorks
What happened?
Following up on discussion/question in #703 (comment)
@bendichter I have explored this and although the MATLAB documentation seems to suggest that it is possible to clear specific classes, I don't manage to make this work in practice.
Also, MATLAB will update class definitions in memory when they are updated in file, but for some reason this does not work perfectly when regenerating MatNWB type classes. It might be because a full set of classes and superclasses are generated in one go, but it is very difficult to pinpoint. Maybe something to bring up with MathWorks
Steps to Reproduce
runtests('tests.unit.nwbReadTest/readFileWithIncompatibleVersion')
Error Message
Operating System
macOS
Matlab Version
All releases
Code of Conduct
The text was updated successfully, but these errors were encountered: