Mercurial > repos > proteore > proteore_data_manager
diff data_manager/resource_building.py @ 44:7ebbf851598e draft
"planemo upload commit ba867b8fa3352695fbda1ae764407f363ee79a50-dirty"
| author | proteore |
|---|---|
| date | Wed, 08 Jan 2020 14:50:19 +0000 |
| parents | 414d7d1cfbfd |
| children | 488e015576bc |
line wrap: on
line diff
--- a/data_manager/resource_building.py Wed Jan 08 14:30:58 2020 +0000 +++ b/data_manager/resource_building.py Wed Jan 08 14:50:19 2020 +0000 @@ -255,7 +255,7 @@ w.writerows(tab) subprocess.call(['tar', '-czvf', archive+".tar.gz", archive]) - os.rmdir(archive) + shutil.rmtree(archive, ignore_errors=True) name_dict={"Human" : "Homo sapiens", "Mouse" : "Mus musculus", "Rat" : "Rattus norvegicus"} name = species +" (" + name_dict[species]+" "+time.strftime("%d/%m/%Y")+")"
