Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle data saving edge cases properly #2220

Open
MichaelHuth opened this issue Aug 8, 2024 · 0 comments
Open

Handle data saving edge cases properly #2220

MichaelHuth opened this issue Aug 8, 2024 · 0 comments
Labels
NWB NeuroDataWithoutBorders file format

Comments

@MichaelHuth
Copy link
Collaborator

Situation 1:

  • Experiment is untitled, NWB saving is enabled in DAEPhys panel
  • On acquire nwb save dialog pops up and asks for nwb name (NWB_PrepareExport) -> User chooses cancel
  • sweep acquisition runs and finishes another nwb save dialog pops up (NWB_AppendSweepDuringDAQ) -> User chooses a file

-> Only last sweep gets saved in NWB.

Situation 2:

  • Acquisition is setup with a locked DAEPhys panel, data was already saved to a device specific NWB file
  • User changes or adds a stimset through the wavebuilder

-> stimset changes are not saved to the NWB

Situation 3:

  • Acquisition is done with a single device "Device1" (locked DAEPhys panel, NWB saving enabled) -> NWB file without device suffix is created
  • Another device is locked in a second DAEPhys panel and acquisition is done ("Device2") -> NWB file with device suffix "Device2" is created
  • DAEPhys panel of "Device1" gets unlocked -> NWB file without device suffix is closed
  • DAEPhys panel of "Device1" gets locked and acquisition is done -> NWB file with "Device1" suffix is created where through NWB_PrepareExport all previous sweeps (i.e. the ones already saved in the first file without device suffix) are saved.
@MichaelHuth MichaelHuth added the NWB NeuroDataWithoutBorders file format label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NWB NeuroDataWithoutBorders file format
Projects
None yet
Development

No branches or pull requests

1 participant