Project

General

Profile

Idea #2992

Updated by Peter Amstutz over 9 years ago

Pipeline components are stored in a hash. In Ruby, and in the YAML representation of components that is stored in the database, the ordering of hash keys is consistent. However, when the components are handled by other languages such as Python (for example, by arv-copy) the order of components is likely to get permuted because order is not guaranteed by json or for "dict" or "hash" types by the in most languages. 

 A fix to sort the components with consistent ordering was implemented way back in March in ac2db7d4aa32a772d9f21db3f1a8a63b1ad0ca2f and reverted in April with 085e614c8e7d1a29e675cf839a1ce9d92ffc5d5c 

 Users should retain the ability to control sorting with a "display_order" field that, if present, takes precedence over the topological/lexical sorting behavior.

Back