[Bug]: Exception reading two live-scripts one after the other with matnwb 2.8.0 #703
Closed
2 tasks done
Labels
category: bug
errors in the code or code behavior
status: todo
something needs to be done
topic: matnwb-api
related to improving the matnwb api
What happened?
When executing two live-scripts in the same MATLAB session in DANDI-Hub/MATLAB online one after the other leads to an exception, unless all the variables are cleared before opening the second libe script.
The problem is visible on the live-script read from this repository:
https://github.com/MATLAB-Community-Toolboxes-at-INCF/example-live-scripts
Executing one of the live-scripts leads do to trigger any errors, but if I don't clear the variables after executing a live-script and executing the second one, reading a nwb file triggers and exception.
Here is the problematic line
and the stack trace
Steps to Reproduce
Error Message
Operating System
Linux
Matlab Version
MATLAB 2024b - build from MATLAB 2024b Docker image
ghcr.io/mathworks-ref-arch/matlab-integration-for-jupyter/jupyter-matlab-notebook:2024b
Code of Conduct
The text was updated successfully, but these errors were encountered: