Mercurial > repos > iuc > data_manager_manual
comparison data_manager/data_manager_manual.py @ 5:744f607fac50 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit de6f0a7b126cc5abaee41c73cf2a9876ab0b437e"
author | iuc |
---|---|
date | Mon, 21 Oct 2019 06:30:45 -0400 |
parents | 1ed87dee9e68 |
children | 2445a874543a |
comparison
equal
deleted
inserted
replaced
4:1ed87dee9e68 | 5:744f607fac50 |
---|---|
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) |
67 tmp_file = tempfile.NamedTemporaryFile() | 67 tmp_file = tempfile.NamedTemporaryFile(mode="w") |
68 tmp_file.write(__get_new_xml_definition(app, data_table, data_manager, repo_info, target_dir)) | 68 tmp_file.write(__get_new_xml_definition(app, data_table, data_manager, repo_info, target_dir)) |
69 tmp_file.flush() | 69 tmp_file.flush() |
70 app.tool_data_tables.add_new_entries_from_config_file(tmp_file.name, None, app.config.shed_tool_data_table_config, persist=True) | 70 app.tool_data_tables.add_new_entries_from_config_file(tmp_file.name, None, app.config.shed_tool_data_table_config, persist=True) |
71 tmp_file.close() | 71 tmp_file.close() |
72 | 72 |