changeset 7:241760d3c944 draft

Uploaded
author greg
date Tue, 04 Sep 2018 08:50:43 -0400
parents e813f9537cb2
children 0916fe9ef46f
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:43:24 2018 -0400
+++ b/get_clustering_methods.py	Tue Sep 04 08:50:43 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:43:24 2018 -0400
+++ b/macros.xml	Tue Sep 04 08:50:43 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>