commit/galaxy-central: jgoecks: Clean up temp files.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/e1c0cd5ed767/ changeset: e1c0cd5ed767 user: jgoecks date: 2012-03-09 22:11:21 summary: Clean up temp files. affected #: 1 file diff -r 3c32b4a448c6d042d39eb2225ddfe2476a18de0f -r e1c0cd5ed76766e4bf18f5342bf6cd395fca4732 tools/extract/extract_genomic_dna.py --- a/tools/extract/extract_genomic_dna.py +++ b/tools/extract/extract_genomic_dna.py @@ -279,5 +279,10 @@ if skipped_lines: # Error message includes up to the first 10 skipped lines. print 'Skipped %d invalid lines, 1st is #%d, "%s"' % ( skipped_lines, first_invalid_line, '\n'.join( invalid_lines[:10] ) ) + + # Clean up temp file. + if fasta_file: + os.remove( seq_path ) + os.remove( tmp_name ) if __name__ == "__main__": __main__() Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket