mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Convert dbkeys from string to dict before checking for dbkey when including chrom info in jobs. Thanks Andrew Warren.
This commit is contained in:
@@ -195,7 +195,7 @@ class DefaultToolAction( object ):
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user