about summary refs log tree commit diff
path: root/uploader/genotypes/ordering.py
AgeCommit message (Collapse)Author
6 daysValidate submitted sample ordersFrederick Muriuki Muriithi
Add `is_valid_order`, which checks that a submitted order is a permutation of the file's samples (catching missing, extra and duplicated samples), with tests. Co-authored-by: pi coding agent <pi@pi.dev>
6 daysAdd genotype sample order proposal helpersFrederick Muriuki Muriithi
Add `proposed_order`, which keeps an existing population order and appends missing samples alphabetically (or sorts alphabetically without an existing order), and `population_sample_order`, which reads a population's order from `StrainXRef.OrderId`. Co-authored-by: pi coding agent <pi@pi.dev>