From 24df5f3cd84f3ebf8c989a76e829a31aab92397f Mon Sep 17 00:00:00 2001 From: SeanCullen11 Date: Tue, 3 Aug 2021 16:50:38 -0500 Subject: [PATCH] Runnable in terminal, can be changed for adaxial --- only_ab.py => utilities/image_processing/only_ab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename only_ab.py => utilities/image_processing/only_ab.py (93%) diff --git a/only_ab.py b/utilities/image_processing/only_ab.py similarity index 93% rename from only_ab.py rename to utilities/image_processing/only_ab.py index 63378e3..9528ead 100644 --- a/only_ab.py +++ b/utilities/image_processing/only_ab.py @@ -7,7 +7,7 @@ def main(list_of_folders: list): for folder in list_of_folders: files = os.listdir(folder) - ab_graveyard_folder = os.path.join(folder, 'abaxial') + ab_graveyard_folder = os.path.join(folder, 'abaxial') # Can be changed for adaxial os.makedirs(ab_graveyard_folder) abaxial = [f for f in files if '_abaxial_' in os.path.join(folder, f)] for ab in abaxial: