Improved documentation for automated repository installation and testing. Handle cases where a repository is missing test data. Limit the list of repositories to test to those that have tools. Update the parse_tool_panel_config method to return a flag specifying whether test data was found for the specified tool panel entry.

This commit is contained in:
Dave Bouvier
2013-03-01 15:13:20 -05:00
parent 2337695990
commit 8d2655503b
3 changed files with 214 additions and 106 deletions
+2 -2
View File
@@ -321,10 +321,10 @@ def main():
if testing_migrated_tools or testing_installed_tools:
shed_tools_dict = {}
if testing_migrated_tools:
shed_tools_dict = parse_tool_panel_config( migrated_tool_panel_config, shed_tools_dict )
has_test_data, shed_tools_dict = parse_tool_panel_config( migrated_tool_panel_config, shed_tools_dict )
elif testing_installed_tools:
for shed_tool_config in installed_tool_panel_configs:
shed_tools_dict = parse_tool_panel_config( shed_tool_config, shed_tools_dict )
has_test_data, shed_tools_dict = parse_tool_panel_config( shed_tool_config, shed_tools_dict )
# Persist the shed_tools_dict to the galaxy_tool_shed_test_file.
shed_tools_file = open( galaxy_tool_shed_test_file, 'w' )
shed_tools_file.write( to_json_string( shed_tools_dict ) )