Closed shijiegu closed 1 month ago
Hi @shijiegu - Looking at your error stack versus the latest commit (e.g., insert_sessions.py:L68
vs master), it appears you're on an older version. I believe we've addressed this issue. Please feel free to reopen if this is still a problem after fetching the latest updates.
In older versions of Spyglass, I believe files need to be deleted from disk manually.
Describe the bug
sdi.insert_sessions('lewis20240115.nwb')
givesBut data had been deleted through
(nd.common.Nwbfile() & {"nwb_file_name": "lewis20240115.nwb"}).delete()
Expected behavior Calling delete before insert should allow me to reinsert data.