1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/39e03997f78f/ changeset: 39e03997f78f user: natefoo date: 2012-02-07 16:41:22 summary: Use PG9 hex bytea fix to decode tool shed repository metadata in migration script 91. affected #: 1 file diff -r f2ed09e52dfd51fb1e95dec0ec1379edefe6d56a -r 39e03997f78f7dcea23915cffe5f924e7b6bd957 lib/galaxy/model/migrate/versions/0091_add_tool_version_tables.py --- a/lib/galaxy/model/migrate/versions/0091_add_tool_version_tables.py +++ b/lib/galaxy/model/migrate/versions/0091_add_tool_version_tables.py @@ -11,6 +11,7 @@ now = datetime.datetime.utcnow # Need our custom types, but don't import anything else from model from galaxy.model.custom_types import * +from galaxy.model.custom_types import _sniffnfix_pg9_hex from galaxy.util.json import from_json_string, to_json_string import sys, logging @@ -75,7 +76,7 @@ for row in result: if row[1]: tool_shed_repository_id = row[0] - repository_metadata = from_json_string( str( row[1] ) ) + repository_metadata = from_json_string( _sniffnfix_pg9_hex( row[1] ) ) # Create a new row in the tool table for each tool included in repository. We will NOT # handle tool_version_associaions because we do not have the information we need to do so. tools = repository_metadata.get( 'tools', [] ) 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.