changeset 10:c331d86ec80b draft

Uploaded
author greg
date Tue, 04 Sep 2018 08:52:07 -0400 (2018-09-04)
parents ea8cbe5a8cd0
children 800402ed6eb7
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:48:36 2018 -0400
+++ b/get_clustering_methods.py	Tue Sep 04 08:52:07 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:48:36 2018 -0400
+++ b/macros.xml	Tue Sep 04 08:52:07 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>