diff options
author | Alexanderlacuna | 2020-10-29 16:14:32 +0300 |
---|---|---|
committer | Alexanderlacuna | 2020-10-29 16:14:32 +0300 |
commit | 480217fdde68589ad84799c3b5df2c61608494ad (patch) | |
tree | a39c1be021bfe59869435ea97cfb93890609a2a0 /scripts/maintenance/readProbeSetSE_v7.py | |
parent | 18304a9b20bd4180b40be8296df26c2a0acf62fa (diff) | |
parent | 6e6911b466c2727b16a190d8b714f55d7842d7e2 (diff) | |
download | genenetwork2-480217fdde68589ad84799c3b5df2c61608494ad.tar.gz |
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into test-branch
Diffstat (limited to 'scripts/maintenance/readProbeSetSE_v7.py')
-rwxr-xr-x | scripts/maintenance/readProbeSetSE_v7.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/maintenance/readProbeSetSE_v7.py b/scripts/maintenance/readProbeSetSE_v7.py index edd9e7b0..2cfe2e07 100755 --- a/scripts/maintenance/readProbeSetSE_v7.py +++ b/scripts/maintenance/readProbeSetSE_v7.py @@ -72,14 +72,14 @@ GeneList = [] isCont = 1 header = fp.readline() header = header.strip().split('\t') -header = list(map(string.strip, header)) +header = [item.strip() for item in header] nfield = len(header) line = fp.readline() kj = 0 while line: line2 = line.strip().split('\t') - line2 = list(map(string.strip, line2)) + line2 = [item.strip() for item in line2] if len(line2) != nfield: isCont = 0 print(("Error : " + line)) @@ -110,7 +110,7 @@ isCont = 1 fp.seek(0) header = fp.readline() header = header.strip().split('\t') -header = list(map(string.strip, header)) +header = [item.strip() for item in header] header = list(map(translateAlias, header)) header = header[dataStart:] Ids = [] |