-
Type: Sub-task
-
Status: Done (View Workflow)
-
Priority: Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Sprint:2DDRP-2019 E, 2DDRP-2021 A, 2DDRP-2021 A 2
The current YAML structure is:
calibBlocks: blockA: ... blockB: ...
where blockA and blockB are free-format names for blocks. We expect that blockA is done before blockB. The weekly test relies on this behavior.
In fact, Python's dict type preserves the order of items, and pyyaml preserves the order of items in the YAML file (with an option)
However, YAML specification says a mapping is unordered.
https://yaml.org/spec/1.2/spec.html#id2765608
To serialize a mapping ... This order ... should not be used ... for the preservation of application data). In every case where node order is significant, a sequence must be used.
The above structure should have been:
calibBlocks: - name: blockA ... - name: blockB ...