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