commit/galaxy-central: dannon: Fix (kind of a guess as to the intended functionality) input_dbkey error.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d62fd7469c62/ Changeset: d62fd7469c62 Branch: next-stable User: dannon Date: 2014-05-19 23:42:05 Summary: Fix (kind of a guess as to the intended functionality) input_dbkey error. Affected #: 1 file diff -r e7bcba2bec53e16c8e11bb136da9f8aad9e430ba -r d62fd7469c626064d8fe9792ea4584c57b5ed431 lib/galaxy/util/dbkeys.py --- a/lib/galaxy/util/dbkeys.py +++ b/lib/galaxy/util/dbkeys.py @@ -55,9 +55,9 @@ chrom_info = db_dataset.file_name else: # -- Get chrom_info (len file) from either a custom or built-in build. -- - if trans.user and ( 'dbkeys' in trans.user.preferences ) and ( input_dbkey in from_json_string( trans.user.preferences[ 'dbkeys' ] ) ): + if trans.user and ( 'dbkeys' in trans.user.preferences ) and ( dbkey in from_json_string( trans.user.preferences[ 'dbkeys' ] ) ): # Custom build. - custom_build_dict = from_json_string( trans.user.preferences[ 'dbkeys' ] )[ input_dbkey ] + custom_build_dict = from_json_string( trans.user.preferences[ 'dbkeys' ] )[ dbkey ] # HACK: the attempt to get chrom_info below will trigger the # fasta-to-len converter if the dataset is not available or, # which will in turn create a recursive loop when 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