-
Notifications
You must be signed in to change notification settings - Fork 16
Description
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)
nwb-schema/docs/format/source/format_release_notes.rst
Lines 11 to 12 in c288427
| - 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):
nwb-schema/core/nwb.device.yaml
Lines 31 to 34 in c288427
| - 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
nwb-schema/core/nwb.device.yaml
Lines 25 to 29 in c288427
| - 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. |