2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d64d821891f5/ Changeset: d64d821891f5 Branch: next-stable User: carlfeberhard Date: 2013-03-27 20:31:41 Summary: history panel: only fetch force_history_refresh for running/queued HDAs Affected #: 1 file diff -r 2af272e9f2565cd9272c0aa5004a5726cfafc9bf -r d64d821891f5d7678205c2261c66e13b348049f9 lib/galaxy/web/base/controller.py --- a/lib/galaxy/web/base/controller.py +++ b/lib/galaxy/web/base/controller.py @@ -360,15 +360,16 @@ if meta_files: hda_dict[ 'meta_files' ] = meta_files - hda_dict[ 'display_apps' ] = self.get_display_apps( trans, hda ) hda_dict[ 'display_types' ] = self.get_old_display_applications( trans, hda ) + #hda_dict[ 'display_apps' ] = self.get_display_apps( trans, hda ) hda_dict[ 'visualizations' ] = hda.get_visualizations() # return here if deleted if hda.deleted and not purged: return trans.security.encode_dict_ids( hda_dict ) - if hda.creating_job and hda.creating_job.tool_id: + if( ( hda.state in [ 'running', 'queued' ] ) + and ( hda.creating_job and hda.creating_job.tool_id ) ): tool_used = trans.app.toolbox.get_tool( hda.creating_job.tool_id ) if tool_used and tool_used.force_history_refresh: hda_dict[ 'force_history_refresh' ] = True @@ -382,6 +383,7 @@ def get_display_app_url( display_app_link, hda, trans ): web_url_for = routes.URLGenerator( trans.webapp.mapper, trans.environ ) dataset_hash, user_hash = da_util.encode_dataset_user( trans, hda, None ) + return '' return web_url_for( controller='dataset', action="display_application", dataset_id=dataset_hash, https://bitbucket.org/galaxy/galaxy-central/commits/bc62ff98a7e6/ Changeset: bc62ff98a7e6 User: carlfeberhard Date: 2013-03-27 20:32:19 Summary: merge next-stable Affected #: 1 file diff -r 5af3b1cbb2255fcf02dd4d214f211ffe4c4bc8b3 -r bc62ff98a7e61a1fe6d24bddcfcd277b39573256 lib/galaxy/web/base/controller.py --- a/lib/galaxy/web/base/controller.py +++ b/lib/galaxy/web/base/controller.py @@ -360,15 +360,16 @@ if meta_files: hda_dict[ 'meta_files' ] = meta_files - hda_dict[ 'display_apps' ] = self.get_display_apps( trans, hda ) hda_dict[ 'display_types' ] = self.get_old_display_applications( trans, hda ) + #hda_dict[ 'display_apps' ] = self.get_display_apps( trans, hda ) hda_dict[ 'visualizations' ] = hda.get_visualizations() # return here if deleted if hda.deleted and not purged: return trans.security.encode_dict_ids( hda_dict ) - if hda.creating_job and hda.creating_job.tool_id: + if( ( hda.state in [ 'running', 'queued' ] ) + and ( hda.creating_job and hda.creating_job.tool_id ) ): tool_used = trans.app.toolbox.get_tool( hda.creating_job.tool_id ) if tool_used and tool_used.force_history_refresh: hda_dict[ 'force_history_refresh' ] = True @@ -382,6 +383,7 @@ def get_display_app_url( display_app_link, hda, trans ): web_url_for = routes.URLGenerator( trans.webapp.mapper, trans.environ ) dataset_hash, user_hash = da_util.encode_dataset_user( trans, hda, None ) + return '' return web_url_for( controller='dataset', action="display_application", dataset_id=dataset_hash, 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.