Mercurial > repos > iuc > yahs
view move_files.py @ 2:8e2d21da6142 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
| author | iuc |
|---|---|
| date | Wed, 27 Jul 2022 09:25:39 +0000 |
| parents | 1c2056885441 |
| children |
line wrap: on
line source
import os import shutil files = os.listdir() for file in files: if "yahs_out" in file and "final" in file: shutil.move(file, "final_outs/" + file) elif "yahs_out_init" in file: shutil.move(file, "initial_break/" + file) elif "_break.agp" in file: shutil.move(file, "agp_break/" + file) elif "yahs_out" in file and ".agp" in file: shutil.move(file, "agp_out/" + file)
