about summary refs log tree commit diff
path: root/scripts/maintenance/readProbeSetMean_v7.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maintenance/readProbeSetMean_v7.py')
-rwxr-xr-xscripts/maintenance/readProbeSetMean_v7.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/maintenance/readProbeSetMean_v7.py b/scripts/maintenance/readProbeSetMean_v7.py
index 97767715..864b4e08 100755
--- a/scripts/maintenance/readProbeSetMean_v7.py
+++ b/scripts/maintenance/readProbeSetMean_v7.py
@@ -80,8 +80,7 @@ while line:
 	if kj%100000 == 0:
 		print(('checked ',kj,' lines'))
 
-GeneList = list(map(string.lower, GeneList))
-GeneList.sort()
+GeneList = sorted(map(string.lower, GeneList))
 	
 if isCont==0:
 	sys.exit(0)
@@ -148,9 +147,8 @@ for item in results:
 	
 print(Names)
 
-Names = list(map(string.lower, Names))
+Names = sorted(map(string.lower, Names))
 
-Names.sort() # -- Fixed the lower case problem of ProbeSets affx-mur_b2_at  doesn't exist --#
 
 
 ##---- compare genelist with names ----##