timetoshare.validation.maps#
Conversion-map rules: the source units and the members of a map that must agree.
- timetoshare.validation.maps.MEASURE_VIEWS = frozenset({'FloatingMeasureMap', 'MeasureBeatMap', 'MeasureNumberMap', 'MeasureRecordMap'})#
The conversion map types that read a MeasureMap.
- timetoshare.validation.maps.timeline_maps(timeline, path)[source]#
Yield a timeline’s conversion maps with their paths, each before those it holds.
A
CombinationMap’s outputs carry no order; they are visited by name, in code-point order.
- timetoshare.validation.maps.timeline_map_problems(timeline, path)[source]#
Yield the map rules a timeline tree breaks: source units, arrays that agree.
A map attached to a timeline converts from the timeline’s unit; a map a
PiecewiseMaporCombinationMapholds, and aChainMap’s first map, from its holder’s source unit. A null source unit on either side checks nothing.