commit/galaxy-central: carlfeberhard: Saved visualizations: fix to display by slug to render built-in visualizations using original display code
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/91aa1db362c9/ Changeset: 91aa1db362c9 User: carlfeberhard Date: 2014-03-18 14:48:47 Summary: Saved visualizations: fix to display by slug to render built-in visualizations using original display code Affected #: 1 file diff -r dea106a05af8597b66846bde6d28bfe97a8ea338 -r 91aa1db362c9f5c76160b09bab52b8a77b0f30b0 lib/galaxy/webapps/galaxy/controllers/visualization.py --- a/lib/galaxy/webapps/galaxy/controllers/visualization.py +++ b/lib/galaxy/webapps/galaxy/controllers/visualization.py @@ -584,7 +584,8 @@ ave_item_rating, num_ratings = self.get_ave_item_rating_data( trans.sa_session, visualization ) # Display. - if trans.app.visualizations_registry and visualization.type in trans.app.visualizations_registry.plugins: + if( ( trans.app.visualizations_registry and visualization.type in trans.app.visualizations_registry.plugins ) + and ( visualization.type not in trans.app.visualizations_registry.BUILT_IN_VISUALIZATIONS ) ): # if a registry visualization, load a version of display.mako that will load the vis into an iframe :( #TODO: simplest path from A to B but not optimal - will be difficult to do reg visualizations any other way #TODO: this will load the visualization twice (once above, once when the iframe src calls 'saved') 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