clean up fastqc updates a tiny bit

This commit is contained in:
Ross Lazarus
2013-05-30 15:01:29 +10:00
parent f2065f4a24
commit 941ce7d5dd
+1 -2
View File
@@ -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()