From 941ce7d5ddbb9a949e24d09a01fb8ca75ad9ccca Mon Sep 17 00:00:00 2001 From: Ross Lazarus Date: Thu, 30 May 2013 15:01:29 +1000 Subject: [PATCH] clean up fastqc updates a tiny bit --- tools/rgenetics/rgFastQC.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/rgenetics/rgFastQC.py b/tools/rgenetics/rgFastQC.py index 9d8933eb5cd..5bfbe0b7dd7 100644 --- a/tools/rgenetics/rgFastQC.py +++ b/tools/rgenetics/rgFastQC.py @@ -62,10 +62,9 @@ class FastQC(): infname = self.opts.inputfilename linf = infname.lower() trimext = False - isgz = linf.endswith('.gz') or linf.endswith('.gzip') # decompression at upload currently does NOT remove this now bogus ending - fastqc will barf # patched may 29 2013 until this is fixed properly - if isgz: + if ( linf.endswith('.gz') or linf.endswith('.gzip') ): f = gzip.open(self.opts.input) try: testrow = f.readline()