changeset 14:f2e8552cf1d0 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:26:32 -0400
parents 9337dd1fbc66
children 2b0c9d9fc6ca
files rgFastQC.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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]