commit/galaxy-central: dan: Make ldda.templates_json able to set use_name flag in call to templates_dict.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/04ed074ef9d2/ changeset: 04ed074ef9d2 user: dan date: 2012-03-28 18:05:00 summary: Make ldda.templates_json able to set use_name flag in call to templates_dict. affected #: 1 file diff -r 0c6cf4f53c4efad46fe7716587ca5a2dddff049c -r 04ed074ef9d21888bfd68235707b5ec0b9a70a10 lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -1554,8 +1554,8 @@ tmp_dict[ name ] = content[ field[ 'name' ] ] template_data[template.name] = tmp_dict return template_data - def templates_json( self ): - return simplejson.dumps( self.templates_dict() ) + def templates_json( self, use_name=False ): + return simplejson.dumps( self.templates_dict( use_name=use_name ) ) def get_display_name( self ): """ 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