changeset 7:51c2f0c74349 draft

Uploaded
author greg
date Tue, 04 Sep 2018 08:51:14 -0400
parents 00f14e3bbe9f
children a4009bf30e70
files get_clustering_methods.py macros.xml
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/get_clustering_methods.py	Thu Aug 30 09:45:52 2018 -0400
+++ b/get_clustering_methods.py	Tue Sep 04 08:51:14 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
--- a/macros.xml	Thu Aug 30 09:45:52 2018 -0400
+++ b/macros.xml	Tue Sep 04 08:51:14 2018 -0400
@@ -9,6 +9,7 @@
             <options from_data_table="plant_tribes_scaffolds">
                 <column name="name" index="1"/>
                 <column name="value" index="2"/>
+                <column name="path" index="2"/>
                 <filter type="sort_by" column="1"/>
                 <validator type="no_options" message="No PlantTribes scaffolds are available.  Use the PlantTribes Scaffolds Download Data Manager tool in Galaxy to install and populate the PlantTribes scaffolds data table."/>
             </options>