mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix megablast wrapper never cleaning up tempfiles.
This commit is contained in:
@@ -81,6 +81,8 @@ def __main__():
|
||||
output.write( "%s\n" % new_line )
|
||||
output.close()
|
||||
|
||||
os.unlink( mega_temp_output ) #remove the tempfile that we just reformated the contents of
|
||||
|
||||
if invalid_lines:
|
||||
print "Unable to parse %d lines. Keep the default format." % invalid_lines
|
||||
|
||||
@@ -91,4 +93,4 @@ def __main__():
|
||||
print line
|
||||
os.remove( './error.log' )
|
||||
|
||||
if __name__ == "__main__" : __main__()
|
||||
if __name__ == "__main__" : __main__()
|
||||
|
||||
Reference in New Issue
Block a user