Mercurial > repos > devteam > fastqc
changeset 12:919cf12bb71c draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqc commit 4a3c9f195ba5d899b1a1ce5e80281cdf230f456a
author | iuc |
---|---|
date | Mon, 23 Oct 2017 13:23:42 -0400 |
parents | f5a25a56ab9d |
children | 7d8c56e1a3aa |
files | rgFastQC.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/rgFastQC.py Mon Jun 05 13:49:41 2017 -0400 +++ b/rgFastQC.py Mon Oct 23 13:23:42 2017 -0400 @@ -58,7 +58,7 @@ try: f.readline() ftype = ['gzip'] - except: + except Exception: trimext = True f.close() elif linf.endswith('bz2') or informat.endswith('.bz2'): @@ -66,7 +66,7 @@ try: ftype = ['bzip2'] f.readline() - except: + except Exception: trimext = True f.close() elif linf.endswith('.zip'): @@ -76,7 +76,7 @@ f = open(self.opts.input) try: f.readline() - except: + except Exception: raise Exception("Input file corruption, could not identify the filetype") infname = os.path.splitext(infname)[0]