Skip to content

Commit

Permalink
Merge pull request #53 from ENCODE-DCC/PIP-185-fix-gzip
Browse files Browse the repository at this point in the history
Add -n to make gzip deterministic
  • Loading branch information
strattan authored Jun 28, 2017
2 parents e6f132e + 0bb0353 commit 4532ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnanexus/idr2/src/idr2.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def compress(filename):
else:
logging.info(subprocess.check_output(shlex.split('ls -l %s' %(filename))))
logging.info("Compressing %s" %(filename))
logging.info(subprocess.check_output(shlex.split('gzip %s' %(filename))))
logging.info(subprocess.check_output(shlex.split('gzip -n %s' %(filename))))
new_filename = filename + '.gz'
logging.info(subprocess.check_output(shlex.split('ls -l %s' %(new_filename))))
return new_filename
Expand Down

0 comments on commit 4532ca7

Please sign in to comment.