projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64eab6e
)
use sorted on the iterator instead of an in-place sort
author
Diane Trout
<diane@ghic.org>
Fri, 20 Mar 2015 21:46:27 +0000
(14:46 -0700)
committer
Diane Trout
<diane@ghic.org>
Fri, 20 Mar 2015 21:46:27 +0000
(14:46 -0700)
htsworkflow/pipelines/retrieve_config.py
patch
|
blob
|
history
diff --git
a/htsworkflow/pipelines/retrieve_config.py
b/htsworkflow/pipelines/retrieve_config.py
index 26ff2d1cec0dab22467e97b9b486d0fe554459f3..69d85584b3a610bd863a6e72cb1269ca02b56af1 100644
(file)
--- a/
htsworkflow/pipelines/retrieve_config.py
+++ b/
htsworkflow/pipelines/retrieve_config.py
@@
-408,8
+408,7
@@
def format_pooled_libraries(shared, library):
return [shared]
elif isinstance(sequences, dict):
pooled = []
- multiplex_ids = sequences.keys()
- multiplex_ids.sort(key=natural_sort_key)
+ multiplex_ids = sorted(sequences.keys(), key=natural_sort_key)
for multiplex_id in multiplex_ids:
sample = {}
sample.update(shared)