forked from M-Labs/artiq
1
0
Fork 0

RELEASE_NOTES: deprecated ndecimals

This commit is contained in:
Simon Renblad 2023-07-18 10:40:43 +08:00 committed by Sébastien Bourdeauducq
parent 3d0feef614
commit a2d62e6006
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ Old syntax should be replaced with the form shown on the right.
data[key][1] ==> value[key] data[key][1] ==> value[key]
data[key][2] ==> metadata[key] data[key][2] ==> metadata[key]
* The ``ndecimals`` parameter in ``NumberValue`` and ``Scannable`` has been renamed to ``precision``.
Parameters after and including ``scale`` in both constructors are now keyword-only.
Refer to the updated ``no_hardware/arguments_demo.py`` example for current usage.
ARTIQ-7 ARTIQ-7