Skip to content

NWB export should use existing device info when input is NWB #116

Description

@alejoe91

Currently, when the input is NWB the recording has not probe attached to it (just locations), so the code makes a dummy probe and creates the default Device. Instead, we should load the device name associated to the ElectricalSeries through the ElectrodeGroup and use that device for the NWB export of LFP and Units.

Since in-memory probes are not propagated to JSON dump, a solution could be to add an optional probegroup field to the job json files and instantiate + attach the probe if present. Then the job dispatch will be in charge of making the probe and using the correct metadata form the device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions