# HG changeset patch # User iuc # Date 1508779422 14400 # Node ID 919cf12bb71c89fdaf7fe1a72d35676251690048 # Parent f5a25a56ab9d03e2e4746a1c9ab9a81960f6096b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqc commit 4a3c9f195ba5d899b1a1ce5e80281cdf230f456a diff -r f5a25a56ab9d -r 919cf12bb71c rgFastQC.py --- 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]