Previous changeset 102:87c5402e0ba8 (2014-07-01) Next changeset 104:a22c909c9b57 (2014-07-07) |
Commit message:
improve warning messages |
modified:
blast2html.py |
b |
diff -r 87c5402e0ba8 -r 86bcf17f50ef blast2html.py --- a/blast2html.py Tue Jul 01 16:54:32 2014 +0200 +++ b/blast2html.py Tue Jul 01 17:18:09 2014 +0200 |
b |
@@ -399,7 +399,10 @@ except OSError: continue if not links: - warnings.warn("No gene bank link templates found in {0}".format(', '.join(files))) + if not files: + warnings.warn("No gene bank link templates found (no blastdb*.loc files found in {0})".format(dir)) + else: + warnings.warn("No gene bank link templates found in {0}".format(', '.join(files))) return links |