Mercurial > repos > bornea > saint_preprocessing
comparison mzID_process2.py @ 67:b8169cc0b860 draft
Uploaded
| author | bornea |
|---|---|
| date | Sat, 27 Aug 2016 22:40:09 -0400 |
| parents | a551998e1068 |
| children | a48ac530e4fe |
comparison
equal
deleted
inserted
replaced
| 66:d8cc862e6412 | 67:b8169cc0b860 |
|---|---|
| 165 | 165 |
| 166 if bait_bool == 'false': | 166 if bait_bool == 'false': |
| 167 bait_create(make_bait, infile) | 167 bait_create(make_bait, infile) |
| 168 bait = "bait.txt" | 168 bait = "bait.txt" |
| 169 else: | 169 else: |
| 170 bait_temp_file = open(sys.argv[9], 'r') | 170 bait_temp_file = open(sys.argv[2], 'r') |
| 171 bait_cache = bait_temp_file.readlines() | 171 bait_cache = bait_temp_file.readlines() |
| 172 bait_file_tmp = open("bait.txt", "wr") | 172 bait_file_tmp = open("bait.txt", "wr") |
| 173 for cache_line in bait_cache: | 173 for cache_line in bait_cache: |
| 174 bait_file_tmp.write(cache_line) | 174 bait_file_tmp.write(cache_line) |
| 175 bait_file_tmp.close() | 175 bait_file_tmp.close() |
