aboutsummaryrefslogtreecommitdiff
path: root/bh20seqanalyzer/main.py
diff options
context:
space:
mode:
authorPeter Amstutz2020-05-04 14:09:53 -0400
committerPeter Amstutz2020-05-04 14:09:53 -0400
commitb6d846b5de6c67b28adab1fa520953115a1a1e30 (patch)
tree4bd1359fe41af0fd27c95872244b099172445442 /bh20seqanalyzer/main.py
parent84744602734d84972c9220c08afbde1675de6866 (diff)
downloadbh20-seq-resource-b6d846b5de6c67b28adab1fa520953115a1a1e30.tar.gz
bh20-seq-resource-b6d846b5de6c67b28adab1fa520953115a1a1e30.tar.lz
bh20-seq-resource-b6d846b5de6c67b28adab1fa520953115a1a1e30.zip
Sort input to hopefully get container reuse
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'bh20seqanalyzer/main.py')
-rw-r--r--bh20seqanalyzer/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bh20seqanalyzer/main.py b/bh20seqanalyzer/main.py
index caf4c43..07e5f69 100644
--- a/bh20seqanalyzer/main.py
+++ b/bh20seqanalyzer/main.py
@@ -136,6 +136,7 @@ def start_pangenome_analysis(api,
"location": schema_ref
}
}
+ validated.sort(key=lambda v: v["portable_data_hash"])
for v in validated:
inputobj["inputReads"].append({
"class": "File",