Closed shixnya closed 3 months ago
By moving the initialization of the spike writer to 'initialize' function, it enables to run run.sim() more than once.
Without this modification, run.sim() hits the error because the temporary spike file is closed by 'finalize', but not reinitialized.
By moving the initialization of the spike writer to 'initialize' function, it enables to run run.sim() more than once.
Without this modification, run.sim() hits the error because the temporary spike file is closed by 'finalize', but not reinitialized.