TDMA slot ranges can now be defined using python negative index notation....
Breaking Changes
-
tdmarange slot notation now supports python negative indexing (relative to last slot). This means range strings must use colons only. All unit tests using the dash notation e.g.0-100:2have been updated to0:100:2.
New Features / Improvements
-
tdmarange strings now support negative index notation-
0:-2:2withnum_slots=10will expand to[0, 2, 4, 6, 8] -
-1:-5:1withnum_slots=10will expand to[0, 1, 2, 3, 4, 5, 9]
-
Edited by Caileigh Fitzgerald