comparison blast2html.py @ 105:87c5402e0ba8 draft

fix error
author Jan Kanis <jan.code@jankanis.nl>
date Tue, 01 Jul 2014 16:54:32 +0200
parents 5bfaa3ee1f27
children 86bcf17f50ef
comparison
equal deleted inserted replaced
104:5bfaa3ee1f27 105:87c5402e0ba8
397 continue 397 continue
398 f.close() 398 f.close()
399 except OSError: 399 except OSError:
400 continue 400 continue
401 if not links: 401 if not links:
402 warnings.warn("No gene bank link templates found in {0}".format(', '.join(files)) 402 warnings.warn("No gene bank link templates found in {0}".format(', '.join(files)))
403 return links 403 return links
404 404
405 405
406 def main(): 406 def main():
407 default_template = path.join(path.dirname(__file__), 'blast2html.html.jinja') 407 default_template = path.join(path.dirname(__file__), 'blast2html.html.jinja')