commit/galaxy-central: dan: Fix for LibraryDatasetDatasetAssociation.templates_dict when a content value is not set.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/d087c9f23f9b/ changeset: d087c9f23f9b user: dan date: 2012-04-18 18:54:01 summary: Fix for LibraryDatasetDatasetAssociation.templates_dict when a content value is not set. affected #: 1 file diff -r 609b820ba1ea1ed753179b9228ca918b11969acf -r d087c9f23f9bbf81176a253830b88cca15c458a7 lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -1555,7 +1555,7 @@ name = field[ 'name' ] else: name = field[ 'label' ] - tmp_dict[ name ] = content[ field[ 'name' ] ] + tmp_dict[ name ] = content.get( field[ 'name' ] ) template_data[template.name] = tmp_dict return template_data def templates_json( self, use_name=False ): 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