# HG changeset patch # User iuc # Date 1508779592 14400 # Node ID f2e8552cf1d0687a9a49bbf7f7c0a8f22c541bf9 # Parent 9337dd1fbc66870a3b432af52f404e2e7c27b913 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqc commit 4a3c9f195ba5d899b1a1ce5e80281cdf230f456a diff -r 9337dd1fbc66 -r f2e8552cf1d0 rgFastQC.py --- a/rgFastQC.py Mon Jun 05 13:49:57 2017 -0400 +++ b/rgFastQC.py Mon Oct 23 13:26:32 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]