changeset 3:31f44a9f507e draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit a0d52600f3f1c622760362e255520b956dd48e6a"
author iuc
date Wed, 16 Oct 2019 03:19:50 -0400
parents 1c1e228884d3
children 1ed87dee9e68
files data_manager/data_manager_manual.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/data_manager_manual.py	Mon Sep 23 10:53:17 2019 -0400
+++ b/data_manager/data_manager_manual.py	Wed Oct 16 03:19:50 2019 -0400
@@ -47,6 +47,9 @@
     for data_table_param in data_tables_param:
         data_table_name = data_table_param.get('data_table_name')
         if data_table_name:
+            # the 'data_table_name' value in data_table_param is a SelectToolParameter,
+            # to get the selected value we need to cast data_table_name to string
+            data_table_name = str(data_table_name)
             # get data table managed by this data Manager
             data_table = app.tool_data_tables.get_tables().get(data_table_name)
             if data_table: