comparison blast.py @ 10:5482a8cd0f36 draft

Uploaded v0.0.20 with new citation information
author peterjc
date Wed, 25 Feb 2015 10:52:35 -0500
parents 2bda64d39931
children
comparison
equal deleted inserted replaced
9:2bda64d39931 10:5482a8cd0f36
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...