commit/galaxy-central: jmchilton: Update datatypes.data:display_data's doc per Peter Cock's suggestion.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/87086657a2f4/ Changeset: 87086657a2f4 User: jmchilton Date: 2013-11-25 16:47:18 Summary: Update datatypes.data:display_data's doc per Peter Cock's suggestion. Affected #: 1 file diff -r 35cc1687eb7b348811bf9e4f6e9d4374b00b6f09 -r 87086657a2f4dbd44a2377f550fa6573876a8006 lib/galaxy/datatypes/data.py --- a/lib/galaxy/datatypes/data.py +++ b/lib/galaxy/datatypes/data.py @@ -288,7 +288,14 @@ return open( dataset.file_name ) def display_data(self, trans, data, preview=False, filename=None, to_ext=None, size=None, offset=None, **kwd): - """ Old display method, for transition """ + """ Old display method, for transition - though still used by API and + test framework. Datatypes should be very careful if overridding this + method and this interface between datatypes and Galaxy will likely + change. + + TOOD: Document alternatives to overridding this method (data + providers?). + """ #Relocate all composite datatype display to a common location. composite_extensions = trans.app.datatypes_registry.get_composite_extensions( ) composite_extensions.append('html') # for archiving composite datatypes 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