From c85e69d9a26b5dc03db58cae0bf3b12c7413026f Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 22 Feb 2017 17:03:12 -0800 Subject: [PATCH] Force a reasonable sort order for sample sheet since we made the opposite order the default for lanes_for --- experiments/experiments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/experiments.py b/experiments/experiments.py index 29b0cc1..0e201b6 100644 --- a/experiments/experiments.py +++ b/experiments/experiments.py @@ -27,7 +27,7 @@ def flowcell_information(flowcell_id): return None lane_set = {} - for lane in fc.lane_set.all(): + for lane in fc.lane_set.order_by('lane_number', 'library__id'): lane_item = { 'cluster_estimate': lane.cluster_estimate, 'comment': lane.comment, -- 2.30.2