commit/galaxy-central: greg: Minor fixes for the tool shed's install and test framework.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ee86b02e26ab/ Changeset: ee86b02e26ab User: greg Date: 2013-12-23 13:15:57 Summary: Minor fixes for the tool shed's install and test framework. Affected #: 2 files diff -r 31f4f354b66105d5c2bedc36d7fd80b37327b75e -r ee86b02e26ab788122ec940f1f28c51208385cc2 lib/tool_shed/util/container_util.py --- a/lib/tool_shed/util/container_util.py +++ b/lib/tool_shed/util/container_util.py @@ -1368,11 +1368,11 @@ # 'tool_dependencies': # [{'installation_directory': 'some path' 'type': 'package', 'name': 'MIRA', 'version': '4.0'}] # } - current_repository_successful_installation_dicts = successful_installation_dict.get( 'current_repository', [] ) + # We won't display the current repository in this container. I fit is not displaying installation errors, + # then it must be a successful installation. repository_dependency_successful_installation_dicts = successful_installation_dict.get( 'repository_dependencies', [] ) tool_dependency_successful_installation_dicts = successful_installation_dict.get( 'tool_dependencies', [] ) - if len( current_repository_successful_installation_dicts ) > 0 or \ - len( repository_dependency_successful_installation_dicts ) > 0 or \ + if len( repository_dependency_successful_installation_dicts ) > 0 or \ len( tool_dependency_successful_installation_dicts ) > 0: repository_installation_success_id = 0 folder_id += 1 diff -r 31f4f354b66105d5c2bedc36d7fd80b37327b75e -r ee86b02e26ab788122ec940f1f28c51208385cc2 lib/tool_shed/util/tool_dependency_util.py --- a/lib/tool_shed/util/tool_dependency_util.py +++ b/lib/tool_shed/util/tool_dependency_util.py @@ -56,7 +56,7 @@ if str( tool_dependency.status ) != str( status ): debug_msg = 'Updating an existing record for version %s of tool dependency %s for revision %s of repository %s ' % \ ( str( version ), str( name ), str( tool_shed_repository.changeset_revision ), str( tool_shed_repository.name ) ) - debug_msg += 'by updating the status from %s to %s.' % str( tool_dependency.status ), str( status ) + debug_msg += 'by updating the status from %s to %s.' % ( str( tool_dependency.status ), str( status ) ) log.debug( debug_msg ) tool_dependency.status = status context.add( tool_dependency ) @@ -65,7 +65,7 @@ # Create a new tool_dependency record for the tool_shed_repository. debug_msg = 'Creating a new record for version %s of tool dependency %s for revision %s of repository %s. ' % \ ( str( version ), str( name ), str( tool_shed_repository.changeset_revision ), str( tool_shed_repository.name ) ) - debug_msg += 'The statis is being set to %s.' % str( status ) + debug_msg += 'The status is being set to %s.' % str( status ) log.debug( debug_msg ) tool_dependency = app.install_model.ToolDependency( tool_shed_repository.id, name, version, type, status ) context.add( tool_dependency ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org