diff move_files.py @ 0:d87433f2a54d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
author iuc
date Wed, 29 Jun 2022 13:06:23 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/move_files.py	Wed Jun 29 13:06:23 2022 +0000
@@ -0,0 +1,13 @@
+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)