commit/galaxy-central: dan: Add additional check and slice to _sniffnfix_pg9_hex(). Fixes issue seen when attempting to view saved visualizations. Further investigation may be needed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1f0e7ae9e324/ Changeset: 1f0e7ae9e324 Branch: stable User: dan Date: 2013-09-29 08:04:31 Summary: Add additional check and slice to _sniffnfix_pg9_hex(). Fixes issue seen when attempting to view saved visualizations. Further investigation may be needed. Affected #: 1 file diff -r a477486bf18eafdd14dd7ba1e91e17f1b05e8121 -r 1f0e7ae9e324fcc1e12105651269016f2edb925f lib/galaxy/model/custom_types.py --- a/lib/galaxy/model/custom_types.py +++ b/lib/galaxy/model/custom_types.py @@ -29,6 +29,8 @@ try: if value[0] == 'x': return binascii.unhexlify(value[1:]) + elif value.startswith( '\\x' ): + return binascii.unhexlify( value[2:] ) else: return value except Exception, ex: 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