Mercurial > repos > iuc > data_manager_manual
comparison data_manager/data_manager_manual.py @ 8:6a6a2e4cc222 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit dddd6cf3ff59f2a877d03930fcf0563240fb40d8"
author | iuc |
---|---|
date | Wed, 06 Jan 2021 14:16:00 +0000 |
parents | 2445a874543a |
children |
comparison
equal
deleted
inserted
replaced
7:2445a874543a | 8:6a6a2e4cc222 |
---|---|
56 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) |
57 if not data_table_filename: | 57 if not data_table_filename: |
58 if tdtm is None: | 58 if tdtm is None: |
59 from tool_shed.tools import data_table_manager | 59 from tool_shed.tools import data_table_manager |
60 tdtm = data_table_manager.ToolDataTableManager(app) | 60 tdtm = data_table_manager.ToolDataTableManager(app) |
61 target_dir, tool_path, relative_target_dir = tdtm.get_target_install_dir(tool_shed_repository) | 61 target_dir = tool_shed_repository.repo_path(app) |
62 # Dynamically add this data table | 62 # Dynamically add this data table |
63 log.debug("Attempting to dynamically create a missing Tool Data Table named %s." % data_table_name) | 63 log.debug("Attempting to dynamically create a missing Tool Data Table named %s." % data_table_name) |
64 repo_info = tdtm.generate_repository_info_elem_from_repository(tool_shed_repository, parent_elem=None) | 64 repo_info = tdtm.generate_repository_info_elem_from_repository(tool_shed_repository, parent_elem=None) |
65 if repo_info is not None: | 65 if repo_info is not None: |
66 repo_info = tostring(repo_info) | 66 repo_info = tostring(repo_info) |