aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance/readProbeSetSE_v7.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maintenance/readProbeSetSE_v7.py')
-rwxr-xr-xscripts/maintenance/readProbeSetSE_v7.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/maintenance/readProbeSetSE_v7.py b/scripts/maintenance/readProbeSetSE_v7.py
index 833c3f5f..20a846a4 100755
--- a/scripts/maintenance/readProbeSetSE_v7.py
+++ b/scripts/maintenance/readProbeSetSE_v7.py
@@ -91,8 +91,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)
@@ -158,8 +157,7 @@ results = db.fetchall()
Names = []
for item in results:
Names.append(item[0])
- Names = list(map(string.lower, Names))
- Names.sort() # -- Fixed the lower case problem of ProbeSets affx-mur_b2_at doesn't exist --#
+ Names = sorted(map(string.lower, Names))
##---- compare genelist with names ----##
x = y = 0