Mercurial > repos > iuc > data_manager_manual
comparison data_manager/data_manager_manual.py @ 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 |
comparison
equal
deleted
inserted
replaced
2:1c1e228884d3 | 3:31f44a9f507e |
---|---|
45 tdtm = None | 45 tdtm = None |
46 data_manager = app.data_managers.get_manager(tool.data_manager_id, None) | 46 data_manager = app.data_managers.get_manager(tool.data_manager_id, None) |
47 for data_table_param in data_tables_param: | 47 for data_table_param in data_tables_param: |
48 data_table_name = data_table_param.get('data_table_name') | 48 data_table_name = data_table_param.get('data_table_name') |
49 if data_table_name: | 49 if data_table_name: |
50 # the 'data_table_name' value in data_table_param is a SelectToolParameter, | |
51 # to get the selected value we need to cast data_table_name to string | |
52 data_table_name = str(data_table_name) | |
50 # get data table managed by this data Manager | 53 # get data table managed by this data Manager |
51 data_table = app.tool_data_tables.get_tables().get(data_table_name) | 54 data_table = app.tool_data_tables.get_tables().get(data_table_name) |
52 if data_table: | 55 if data_table: |
53 data_table_filename = data_table.get_filename_for_source(data_manager, None) | 56 data_table_filename = data_table.get_filename_for_source(data_manager, None) |
54 if not data_table_filename: | 57 if not data_table_filename: |