timetoshare.validation.order#

Graphical display-order and band-order rules.

timetoshare.validation.order.order_problems(manifest, timelines, virtual, first_group)[source]#

Yield unknown order keys and invalid display and band orders.

A display order is a permutation of its group’s members. A band order lists line and any of the five facets, each once; a facet it leaves out takes its place from the order the timeline follows without an entry.

timelines holds every timeline ID, virtual every virtual timeline ID and first_group the index of the first group of each group ID, as the identity rules collected them. A virtual timeline’s entry is a band order.