Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Commit 00054a6

Browse files
committed
Remove failed downloads
1 parent 80b0789 commit 00054a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gdc-rnaseq-tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def md5_ok() :
4444
if md5_ok():
4545
return (uuid, retry, md5_ok())
4646
else:
47+
os.remove(fout)
4748
raise ValueError('MD5 Sum Error on ' + uuid)
4849
except Exception as e :
4950
print("Error (attempt {}): {}".format(retry, e))

0 commit comments

Comments
 (0)