Mercurial > repos > devteam > blast_datatypes
comparison blast.py @ 12:da92fef90117 draft
Uploaded v0.0.20 with new citation information
| author | peterjc |
|---|---|
| date | Wed, 25 Feb 2015 10:50:44 -0500 |
| parents | 939a600f45e9 |
| children | 623a3fbe5340 |
comparison
equal
deleted
inserted
replaced
| 11:236046d1d441 | 12:da92fef90117 |
|---|---|
| 74 sleep(1) | 74 sleep(1) |
| 75 if not os.path.isfile(f): | 75 if not os.path.isfile(f): |
| 76 log.error("BLAST XML file %s missing" % f) | 76 log.error("BLAST XML file %s missing" % f) |
| 77 raise ValueError("BLAST XML file %s missing" % f) | 77 raise ValueError("BLAST XML file %s missing" % f) |
| 78 h = open(f) | 78 h = open(f) |
| 79 body = False | |
| 80 header = h.readline() | 79 header = h.readline() |
| 81 if not header: | 80 if not header: |
| 82 out.close() | 81 out.close() |
| 83 h.close() | 82 h.close() |
| 84 #Retry, could be transient error with networked file system... | 83 #Retry, could be transient error with networked file system... |
