Skip to content

Commit

Permalink
fix for gzip files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Palmer authored and Jon Palmer committed Dec 18, 2016
1 parent d3e926d commit c061753
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/ufits-process_ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,9 @@ def processRead(input):
gzip_list = []
if args.fastq.endswith('.gz'):
gzip_list.append(os.path.abspath(args.fastq))
if args.reverse.endswith('.gz'):
gzip_list.append(os.path.abspath(args.reverse))
if args.reverse:
if args.reverse.endswith('.gz'):
gzip_list.append(os.path.abspath(args.reverse))
if gzip_list:
ufitslib.log.info("Gzipped input files detected, uncompressing")
for file in gzip_list:
Expand Down

0 comments on commit c061753

Please sign in to comment.