commit/galaxy-central: jgoecks: Convert dbkeys from string to dict before checking for dbkey when including chrom info in jobs. Thanks Andrew Warren.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/4d48285fcaa6/ changeset: 4d48285fcaa6 user: jgoecks date: 2012-03-22 14:58:42 summary: Convert dbkeys from string to dict before checking for dbkey when including chrom info in jobs. Thanks Andrew Warren. affected #: 1 file diff -r ee4a47ed53712fe87c5372f667c9058147415c04 -r 4d48285fcaa65c7895768069ea197acf9d66b1ed lib/galaxy/tools/actions/__init__.py --- a/lib/galaxy/tools/actions/__init__.py +++ b/lib/galaxy/tools/actions/__init__.py @@ -195,7 +195,7 @@ else: # For custom builds, chrom info resides in converted dataset; for built-in builds, chrom info resides in tool-data/shared. chrom_info = None - if trans.user and ( 'dbkeys' in trans.user.preferences ) and ( input_dbkey in trans.user.preferences[ 'dbkeys' ] ): + if trans.user and ( 'dbkeys' in trans.user.preferences ) and ( input_dbkey in from_json_string( trans.user.preferences[ 'dbkeys' ] ) ): # Custom build. custom_build_dict = from_json_string( trans.user.preferences[ 'dbkeys' ] )[ input_dbkey ] if 'fasta' in custom_build_dict: 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)
-
Bitbucket