changeset 62:83860903ac21 draft

Uploaded
author greg
date Tue, 04 Sep 2018 08:38:06 -0400
parents d53837d5dc99
children 7046ff7256da
files get_clustering_methods.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/get_clustering_methods.py	Tue Sep 04 08:37:56 2018 -0400
+++ b/get_clustering_methods.py	Tue Sep 04 08:38:06 2018 -0400
@@ -6,7 +6,6 @@
     if not os.path.isdir(file_path):
         return options
     methods_dir = os.path.join(file_path, "alns")
-    for i, file_name in enumerate(os.listdir(methods_dir)):
-        full_path = os.path.join(file_path, file_name)
-        options.append((file_name, full_path, i == 0))
+    for i, dir_name in enumerate(os.listdir(methods_dir)):
+        options.append((dir_name, dir_name, i == 0))
     return options