Skip to content

Question for new DeviceModel type #632

@ehennestad

Description

@ehennestad

In NWB v2.8.0 the following properties were added to Device:

  • model_number,
  • model_name,
  • serial_number

Now these are moved to the new DeviceModel type, but I see some inconsistencies between issue discussions, new schema and the current release notes.

1. Deprecated serial_number

The current release notes for upcoming v2.9.0 states the following:
Deprecated Device.model_number, Device.model_name, Device.serial_number. Use Device.model link and new DeviceModel neurodata type instead. (#608)

- Deprecated ``Device.model_number``, ``Device.model_name``, ``Device.serial_number``. Use
``Device.model`` link and new ``DeviceModel`` neurodata type instead. (#608)

However, the serial_number is not deprecated in the schema (i.e "Deprecated" is not present in the doc):

- name: serial_number
dtype: text
doc: The serial number of the device.
required: false

I assume the serial number should still be a property of Device, but manufacturer should be mentioned as deprecated in the release notes?

2. model_name is deprecated from Device, but not added to Device_Model

- name: model_name
dtype: text
doc: DEPRECATED. The model name of the device, e.g., Neuropixels 1.0, V-Probe, Bergamo III.
Instead of using this field, storing the value in DeviceModel.name and link to that
DeviceModel from this Device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions